locked
[PHP][Web Apps] Write Access Azure web app RRS feed

  • Question

  • I changed the permalinks from default to Post name and saved changes. At the top of the page, received this.

    "Permalink structure updated. Remove write access on web.config file now!"
    Please help on this issue.
    thanks

    Monday, August 31, 2015 6:05 PM

Answers

  • Hi,

    Please check this link, which talks about the same issue and it might help:

    https://wordpress.org/support/topic/changing-permalinks-cause-500-error-1

    Regards,
     Azam khan

    • Marked as answer by Kurt rsiiel Wednesday, September 2, 2015 4:34 PM
    Monday, August 31, 2015 6:12 PM
  • Hi,

    As Azam Khan provide, we could fix this issue via the following steps.

    1) select the web app, and click Webmarticx in the bottom of our azure portal

    2) click Edit live site directly

    3) find the web.config file and replace the content with the following (before you do this step, please consider backup the original content of the web.config)

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
        <rewrite>
          <rules>
            <rule name="Main Rule" stopProcessing="true">
              <match url=".*" />
              <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
              </conditions>
              <action type="Rewrite" url="index.php" />
            </rule>
          </rules>
        </rewrite>
      </system.webServer>
    </configuration>

    After these steps, we could use post name in our url.

    Best Regards,

    Jambor


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.



    Tuesday, September 1, 2015 9:27 AM

All replies

  • Hi,

    Please check this link, which talks about the same issue and it might help:

    https://wordpress.org/support/topic/changing-permalinks-cause-500-error-1

    Regards,
     Azam khan

    • Marked as answer by Kurt rsiiel Wednesday, September 2, 2015 4:34 PM
    Monday, August 31, 2015 6:12 PM
  • Hi,

    As Azam Khan provide, we could fix this issue via the following steps.

    1) select the web app, and click Webmarticx in the bottom of our azure portal

    2) click Edit live site directly

    3) find the web.config file and replace the content with the following (before you do this step, please consider backup the original content of the web.config)

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
        <rewrite>
          <rules>
            <rule name="Main Rule" stopProcessing="true">
              <match url=".*" />
              <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
              </conditions>
              <action type="Rewrite" url="index.php" />
            </rule>
          </rules>
        </rewrite>
      </system.webServer>
    </configuration>

    After these steps, we could use post name in our url.

    Best Regards,

    Jambor


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.



    Tuesday, September 1, 2015 9:27 AM