Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] When News page is called News.php it dosn't work, any other name work [HELP]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Vezel" data-source="post: 289152" data-attributes="member: 24702"><p>here's my web.config:</p><p>[HTML]<?xml version="1.0" encoding="UTF-8"?></p><p><configuration></p><p> <system.webServer></p><p> <rewrite></p><p> <rules></p><p> <rule name="Imported Rule 424310" stopProcessing="true"></p><p> <match url="^community/staff$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=staff" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 42431d0" stopProcessing="true"></p><p> <match url="^account/referrals$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=referrals" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 42410" stopProcessing="true"></p><p> <match url="^shop/badge$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=badgeshop" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Rule 1"></p><p> <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 1213123"></p><p> <match url="^(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 2"></p><p> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 3"></p><p> <match url="^(.*)\.htm$" /></p><p> <action type="Rewrite" url="{R:1}.php" /></p><p> </rule></p><p> <rule name="Imported Rule 4"></p><p> <match url="^(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 5"></p><p> <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 83" stopProcessing="true"></p><p> <match url="^pages/rules$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=rules" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 10" stopProcessing="true"></p><p> <match url="^me/settings$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=settings" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 11" stopProcessing="true"></p><p> <match url="^pages/terms$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=terms" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 12" stopProcessing="true"></p><p> <match url="^pages/privacy$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=privacy" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 14" stopProcessing="true"></p><p> <match url="^account/banned$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=banned" appendQueryString="true" /></p><p> </rule></p><p> <rule name="Imported Rule 15" stopProcessing="true"></p><p> <match url="^account/logout$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=logout" appendQueryString="true" /></p><p> </rule></p><p> <rule name="novote"></p><p> <match url="^index/novote(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=index&amp;novote" /></p><p> </rule></p><p> <rule name="Imported Rule 1-1"></p><p> <match url="^manage/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="/manage/index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Importetwad Rule 1-1"></p><p> <match url="^register/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=register&amp;referrer={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 2-1"></p><p> <match url="^manage/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="/manage/index.php?url={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 1e-2" stopProcessing="true"></p><p> <match url="^error/notfound$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php?url=404" appendQueryString="true" /></p><p> </rule></p><p> </p><p> </rules></p><p> </rewrite></p><p> <httpErrors></p><p> <remove statusCode="404" subStatusCode="-1" /></p><p> <error statusCode="404" prefixLanguageFilePath="" path="http://habzen.co.uk" responseMode="Redirect" /></p><p> </httpErrors></p><p> </system.webServer></p><p></configuration></p><p>[/HTML]</p><p>.htaccess:</p><p>[HTML]# Helicon Ape version 3.1.0.110</p><p></p><p>RewriteEngine On</p><p></p><p>RewriteRule ^(|/)$ index.php?url=$1</p><p>RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1</p><p>RewriteEngine on</p><p>RewriteRule ^(.*)\.htm$ $1.php [NC]</p><p>RewriteRule ^(|/)$ dash.php?page=$1</p><p>RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1</p><p>RewriteRule ^corps/(.*)/?$ index.php?url=corps&id=$1 [L,QSA]</p><p>RewriteRule ^business/jobs$ index.php?url=jobs [L,QSA]</p><p>RewriteRule ^business/create$ index.php?url=create [L,QSA]</p><p>[/HTML]</p></blockquote><p></p>
[QUOTE="Vezel, post: 289152, member: 24702"] here's my web.config: [HTML]<?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> </rules> </rewrite> <httpErrors> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="http://habzen.co.uk" responseMode="Redirect" /> </httpErrors> </system.webServer> </configuration> [/HTML] .htaccess: [HTML]# Helicon Ape version 3.1.0.110 RewriteEngine On RewriteRule ^(|/)$ index.php?url=$1 RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ index.php?url=$1 RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [NC] RewriteRule ^(|/)$ dash.php?page=$1 RewriteRule ^([a-zA-Z0-9_-]+)(|/)$ dash.php?url=$1 RewriteRule ^corps/(.*)/?$ index.php?url=corps&id=$1 [L,QSA] RewriteRule ^business/jobs$ index.php?url=jobs [L,QSA] RewriteRule ^business/create$ index.php?url=create [L,QSA] [/HTML] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] When News page is called News.php it dosn't work, any other name work [HELP]
Top