wordpress-website-hosting-in-iis

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




<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
</system.webServer>
<system.web> -->
<customerrors mode="off"/>
<compilation debug="true"/>
</system.web>
view raw gistfile1.txt hosted with ❤ by GitHub

<?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>
view raw gistfile1.txt hosted with ❤ by GitHub
Next PostNewer Post Previous PostOlder Post Home

0 comments:

Post a Comment