EngeldesTodes
Deutsch Techno-Freak WIR SIND EIN
- Feb 21, 2011
- 1,075
- 77
does anyone have a web.config that support this 500 error please as I cant do much with out it
<?xml
version="1.0" encoding="UTF-8"
?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1-1">
<match url="^events(|/)$" ignoreCase="false" />
<action type="Rewrite" url="/app/tpl/skins/Simple/events.php" />
</rule>
<rule name="Imported Rule 1-2">
<match url="^forum(|/)$" ignoreCase="false" />
<action type="Rewrite" url="/forum/" />
</rule>
<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="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 5">
<match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 6">
<match url="^(.*)\.htm$" />
<action type="Rewrite" url="{R:1}.php" />
</rule>
<rule name="Imported Rule 7">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 8">
<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>
damm thought it worked i gonna have to look in my .htaccessYou're completely welcome.
Have you got URL Rewrite?damm thought it worked i gonna have to look in my .htaccess
yes i do have thatHave you got URL Rewrite?
and yes i done that still showing the error upOpen IIS > select your default web site of which your site is hosted with on the left > URL Rewrite > Import rules > Select your desired .htaccess > Import.
If you don't have the URL Rewrite module installed for IIS, then download it fromYou must be registered for see linksand install the extension then follow the above.
<?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 1-1">
<match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 2-1">
<match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="/habbo-imaging/head.php?figure={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>
<rule name="Imported Rule 6">
<match url="^(community/staff)$" ignoreCase="false" />
<action type="Rewrite" url="staff" />
</rule>
<rule name="Imported Rule 7">
<match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
hum it must be iis that playing up as it still got the 500Use this web.config. It works for me.
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 1-1"> <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 2-1"> <match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="/habbo-imaging/head.php?figure={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> <rule name="Imported Rule 6"> <match url="^(community/staff)$" ignoreCase="false" /> <action type="Rewrite" url="staff" /> </rule> <rule name="Imported Rule 7"> <match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
tryed that no luckright so, open up your IIS Manager, and search for default website (your site). find php manager change the version to 5.3.28 (or any other version). (i fixed dozens of internal errors with dis)