azure-web-sites

can an azure web site be a single index.html file?

不羁的心 提交于 2019-12-24 09:43:32
问题 can an azure web site be a single index.html file? I keep getting The page cannot be displayed because an internal server error has occurred. and when I look at wwwroot my that file keeps disappearing. I'm deploy using ftp-simple through visual studio code into /site/wwwroot/ 回答1: Yes, an Azure Web App can be a single index.html. Try creating a clean new site, and dropping an index.html in d:\home\site\wwwroot via Kudu Console (or FTP), and you will be able to request it. 来源: https:/

How to deploy Django app on Azure?

柔情痞子 提交于 2019-12-24 09:36:05
问题 I have posted before but not received an answer. I have a Django web app developed in VS2017. I have published it but getting a server error. Can you please advise how I need to configure my web.config file so that it works? Currently it's: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="PYTHONPATH" value="D:\home\site\wwwroot"/> <add key="WSGI_HANDLER" value="app.wsgi_app"/> <add key="WSGI_LOG" value="D:\home\LogFiles\wfastcgi.log"/> </appSettings> <system

Azure web app automatically redirect from Http to Https

守給你的承諾、 提交于 2019-12-24 08:39:12
问题 I have a website on Azure and I have configured it with the custom domain.Website always redirects from http to https so getting error of not secure in browser as below.. I don't want to redirect it to https.What is the solution and what is the reason that it redirects to https ? On azure in web app overview I get URL with Http : 回答1: Azure Web Apps do not automatically redirect http to https by default, so it may be caused by some logic in your specific app, or some other non-default step

How to override web.config values in custom section in Azure Web App?

筅森魡賤 提交于 2019-12-24 05:46:28
问题 It is possible in Azure Web App to override web.config AppSettings section easily. E.g. if I have the following web.config: <appSettings> <add key="AllowedCORSOrigin" value="http://localhost:26674"/> </appSettings> I can override it in the app settings UI in the portal like that: I have also a custom section in the web.config: <AdWordsApi> <add key="OAuth2RefreshToken" value="TOKEN" /> </AdWordsApi> Is it possible to override it somehow as well? I have tried AdWordsApi.OAuth2RefreshToken and

502 - Web server received an invalid response while acting as a gateway or proxy server

若如初见. 提交于 2019-12-24 04:13:05
问题 When I publish my app to a Azure Website I get the error on the title and nothing works. It's not temporary. I researched and looks like it's not related to the problems people have that error have. I enabled logging but haven't got a much significat otuput. The log says: 2014-01-15 10:56:26 ~1MANDOOSYSTEM GET /diagnostics/settings X-ARR-LOG-ID=5632dfdf-9cda-482a-a1d8-e0a9944c8e51 443 - 70.37.162.148 Azure-Portal/3.14.00298.7 - - mandoosystem.scm.azurewebsites.net 200 0 0 463 939 1718 Ideas?

SQL Server Integrated Security from an Azure Web Site

懵懂的女人 提交于 2019-12-24 03:43:24
问题 When running an ASP.Net website on IIS I can specify the Active Directory (AD) username that the website runs in the context of in the App Pool settings. I can then create a connection string with Integrated Security = true to access my database. It's then possible to secure DB resources based on that AD user. Is this possible in Windows Azure when connecting a Web Site to a VM hosting an SQL database? Firstly it does not seem possible to specify the virtual network of the Web Site so I am

make a backup for azure database

断了今生、忘了曾经 提交于 2019-12-24 03:15:01
问题 I need to make a backup to my azure database, I'm trying with this command: "C:\Program Files\Microsoft SQL Server\120\DAC\bin\SqlPackage.exe" /Action:Export /SourceServerName:"tcp:MyDataServer.database.windows.net,1433" /SourceDatabaseName:MyDatabase /SourceUser:MyUser /SourcePassword:MyPass /TargetFile:C:\backups\backup.bacpac but it seems that the format that downloads it is "bacpac" and I need it to be ".bak", I tried to change the extension but says: "The TargetFile argument must refer

Web app onboarding to Azure Web Marketplace

浪子不回头ぞ 提交于 2019-12-24 02:33:05
问题 We checked this documentation - https://blogs.msdn.microsoft.com/appserviceteam/2016/08/26/onboarding-to-azure-web-marketplace on how to onboard our web apps in the Azure marketplace and also the GitHub link - https://github.com/SunBuild/web-app-marketplace We have contacted MSFT on how to host our application which has an API and WCF applications as sub-applications. MSFT replied that sub applications are not currently supported in through this onboarding model. So, we are trying to onboard

Web app onboarding to Azure Web Marketplace

不羁岁月 提交于 2019-12-24 02:33:02
问题 We checked this documentation - https://blogs.msdn.microsoft.com/appserviceteam/2016/08/26/onboarding-to-azure-web-marketplace on how to onboard our web apps in the Azure marketplace and also the GitHub link - https://github.com/SunBuild/web-app-marketplace We have contacted MSFT on how to host our application which has an API and WCF applications as sub-applications. MSFT replied that sub applications are not currently supported in through this onboarding model. So, we are trying to onboard

Azure App Service : can't save application settings

那年仲夏 提交于 2019-12-24 01:14:50
问题 I can set my application settings and connection strings but I can't save them. The button remains disabled despite my changes. I have 3 applications, only one is concerned. I'm admin of the subscription, any ideas ? 回答1: To overstep this "Azure Portal" problem, you can set your application settings and connexion strings using powerShell, here is a short example : Login-AzureRmAccount $siteName = 'myWebsiteName'; $rgName = 'myWebsite-resourceGroup'; $appSettings = @{}; $appSettings.Add("myKey