SBste01
Member
- Dec 16, 2013
- 44
- 3
Hey,
I wanted to add in a housekeeping for staff on my hotel. However, I placed the HK folder into my Habbo skin (app/tpl/skins/Habbo/hk) and whenever I try going onto {url}/hk it doesn't work and redirects to /404 and says Page Not Found?
Do I need to add something to my web.config file?
web.config:
Any help would be appreciated. Thanks.
I wanted to add in a housekeeping for staff on my hotel. However, I placed the HK folder into my Habbo skin (app/tpl/skins/Habbo/hk) and whenever I try going onto {url}/hk it doesn't work and redirects to /404 and says Page Not Found?
Do I need to add something to my web.config file?
web.config:
<?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="dashboard.html?page={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 5">
<match url="^/stafflogin/index.php?url=dashboard.html(|/)$" ignoreCase="false" />
<action type="Rewrite" url="/stafflogin/dashboard.html" />
</rule>
<rule name="Imported Rule 6">
<match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
<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="dashboard.html?page={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 5">
<match url="^/stafflogin/index.php?url=dashboard.html(|/)$" ignoreCase="false" />
<action type="Rewrite" url="/stafflogin/dashboard.html" />
</rule>
<rule name="Imported Rule 6">
<match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>