Hello,
Currently, my hosting provider is running a windows server on IIS 6. Recently, I purchased a script that I wanted to use for a project management type thing. After the install, I am supposed to have a web based portal where I can login and set everything up. When I go to the url I setup, it only displays a blank page, no login. So I contacted the developer and they sent me a web.config file with the configuration(below) to use. Unfortunately, I could not use a web.config file due to the older version of IIS 6. The workaround was to get ISAPI Rewrite according to my hosting provider and they also gave me access to the httpd.conf file.
So,
My question is, how do I apply this configuration below to the folder where my project management script is so that I can get it working? Lets say that my folder is in a directory structure like:
/one/two/three/projectfolder
Thanks for your help!
<?xml version="1.0"?>
<configuration>
<system.webServer>
<defaultDocument>
<!-- Set the default document -->
<files>
<remove value="index.php" />
<add value="index.php" />
</files>
</defaultDocument>
<httpErrors errorMode="Detailed"/>
<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>