IIS 7.5 Error

Dylan Habbo

Member
Oct 30, 2011
35
0
Well, hey there , me and my friends have been at this four hours and hours, but now wetry to go to the site i'm using RevCMS and i get a error here is a picture :
10xzh1f.png


Please add me on msn or mail me if you know or will help : [email protected]
 

Dylan Habbo

Member
Oct 30, 2011
35
0
I've did that, here is the 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>
<security>
<requestFiltering>
<hiddenSegments>
<remove segment="web.config" />
</hiddenSegments>
</requestFiltering>
</security>
</system.webServer>
</configuration>
 

TesoMayn

Boredom, it vexes me.
Oct 30, 2011
1,482
1,482
Use this in your web.config:

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>
 

Users who are viewing this thread

Top