Wordpress website hosting in IIS(Internet Information Services)
Installed PHP directly using php.iis.net.
You need to give the IUSR account Read/Write/Modify permission on your wp-content folder. then setting in web.config
Installed PHP directly using php.iis.net.
You need to give the IUSR account Read/Write/Modify permission on your wp-content folder. then setting in web.config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<system.webServer> | |
<httpErrors errorMode="Detailed" /> | |
<asp scriptErrorSentToBrowser="true"/> | |
</system.webServer> | |
<system.web> --> | |
<customerrors mode="off"/> | |
<compilation debug="true"/> | |
</system.web> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<!-- <httpErrors errorMode="Detailed" /> --> | |
<!-- <asp scriptErrorSentToBrowser="true"/> --> | |
<security> | |
<requestFiltering> | |
<requestLimits maxAllowedContentLength="4284229877" | |
maxQueryString="4096" maxUrl="2048"> | |
<headerLimits> | |
<remove header="Content-type"/> | |
</headerLimits> | |
</requestLimits> | |
<fileExtensions/> | |
</requestFiltering> | |
</security> | |
<rewrite> | |
<rules> | |
<rule name="wordpress" patternSyntax="Wildcard"> | |
<match url="*"/> | |
<conditions> | |
<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> | |
<!-- <system.web> --> | |
<!-- <customErrors mode="Off"/> --> | |
<!-- <compilation debug="true"/> --> | |
<!-- </system.web> --> | |
</configuration> |
0 comments:
Post a Comment