[CMS] [IIS] web.config for RevCMS

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Here's a web.config for RevCMS, needed by people who use IIS.
NOTE: This is not tested, if you got RevCMS working with IIS, then post your web.config below.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

Please report all bugs in this thread, thank you.
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
UPDATES!!!

Updated the web.config with the one running at - Fully tested and works!
 

Kryptos

prjRev.com
Jul 21, 2010
2,205
1,252
Just delete the file called .htaccess and make a new file named web.config and put in it that.
 

TheCanadian

Jordan behind you ;P
Mar 21, 2011
208
102
The housekeeping doesn't work still so is there any for the housekeeping? BTW got the CMS site to work ;)
 

Elo

New Member
Jul 21, 2011
13
11
i just installed IIS to habztar and i got strange errors :S

screen:
 

Gajeel

Well-Known Member
Oct 4, 2011
2,411
413
Elo, that's why we receive this error:


Server Error



500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.


:/
 

Noman

lol
Jul 17, 2011
225
166
aw man, ASE don't work i removed .htaccess like you said and placed the web.config with the code, it still doesn't work the ASE :(
 

Users who are viewing this thread

Top