My friend is setting a habbo retro up and is not sure what's going wrong.
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
All he is getting is this error message.
I'll paste web.config and .htaccess
can someone provide a fix or whatnot
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
All he is getting is this error message.
I'll paste web.config and .htaccess
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 424310" stopProcessing="true">
<match url="^community/staff$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=staff" appendQueryString="true" />
</rule>
<rule name="Imported Rule 42431d0" stopProcessing="true">
<match url="^account/referrals$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=referrals" appendQueryString="true" />
</rule>
<rule name="Imported Rule 42410" stopProcessing="true">
<match url="^shop/badge$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="true" />
</rule>
<rule name="Rule 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 1213123">
<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>
<rule name="Imported Rule 83" stopProcessing="true">
<match url="^pages/rules$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=rules" appendQueryString="true" />
</rule>
<rule name="Imported Rule 10" stopProcessing="true">
<match url="^me/settings$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=settings" appendQueryString="true" />
</rule>
<rule name="Imported Rule 11" stopProcessing="true">
<match url="^pages/terms$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=terms" appendQueryString="true" />
</rule>
<rule name="Imported Rule 12" stopProcessing="true">
<match url="^pages/privacy$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=privacy" appendQueryString="true" />
</rule>
<rule name="Imported Rule 14" stopProcessing="true">
<match url="^account/banned$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=banned" appendQueryString="true" />
</rule>
<rule name="Imported Rule 15" stopProcessing="true">
<match url="^account/logout$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=logout" appendQueryString="true" />
</rule>
<rule name="novote">
<match url="^index/novote(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=index&novote" />
</rule>
<rule name="Imported Rule 1-1">
<match url="^manage/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="/manage/index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Importetwad Rule 1-1">
<match url="^register/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=register&referrer={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 2-1">
<match url="^manage/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="/manage/index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 1e-2" stopProcessing="true">
<match url="^error/notfound$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=404" appendQueryString="true" />
</rule>
<rule name="Imported Rule 7">
<match url="^home/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url=home&user={R:1}" appendQueryString="false" />
</rule>
<rule name="Forum Threads">
<match url="^thread/([0-9]+)" />
<action type="Rewrite" url="index.php?url=thread&threadid={R:1}" />
</rule>
<rule name="Forum Posts">
<match url="^post/([0-9]+)" />
<action type="Rewrite" url="index.php?url=post&postid={R:1}" />
</rule>
<rule name="Forum New Thread">
<match url="^create/([0-9]+)" />
<action type="Rewrite" url="index.php?url=newthread&thread={R:1}" />
</rule>
</rules>
</rewrite>
<httpErrors>
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" prefixLanguageFilePath="" path="{url}/404" responseMode="Redirect" />
</httpErrors>
</system.webServer>
</configuration>
Code:
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1
RewriteRule ^(.*)\.htm$ $1.php [NC]
RewriteRule ^(|/)$ dash.php?page=$1
RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1
can someone provide a fix or whatnot