Azure webb-app error? Web.config is duplicated

I have a problem with a php application that I am running on Azure. Web.config somehow continues to be modified in the copies themselves:

Here is how I found it now:

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="YOURLS" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="/yourls-loader.php" appendQueryString="true" /> </rule> </rules> </rewrite> </system.webServer> </configuration><?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="YOURLS" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="/yourls-loader.php" appendQueryString="true" /> </rule> </rules> </rewrite> </system.webServer> </configuration> 

Obviously, this leads to an error. What's happening?

Is this a bug in Azure?

+5
source share
1 answer

As a result, I created a new web application to solve the problem.

0
source

All Articles