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 Tutorials
IIS web.config error pages!
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="Kyle" data-source="post: 185135" data-attributes="member: 225"><p>So you want errors from your CMS from IIS?</p><p> </p><p>All you have to do is add this in to your web.config file:</p><p>[code]<?xml version="1.0" encoding="UTF-8"?></p><p><configuration></p><p> <system.webServer></p><p><httpErrors errorMode="Custom" existingResponse="Replace"></p><p><remove statusCode="404" /></p><p><error statusCode="404" path="/index.php?url=error responseMode="ExecuteURL" /></p><p></httpErrors></p><p> </system.webServer></p><p></configuration>[/code]</p><p> </p><p>Adding other than 404 just change the 404 numbers.</p><p>index.php?url=error is for RevCMS just make sure you have error.php in your theme from RevCMS!</p><p> </p><p>Enjoy!</p></blockquote><p></p>
[QUOTE="Kyle, post: 185135, member: 225"] So you want errors from your CMS from IIS? All you have to do is add this in to your web.config file: [code]<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpErrors errorMode="Custom" existingResponse="Replace"> <remove statusCode="404" /> <error statusCode="404" path="/index.php?url=error responseMode="ExecuteURL" /> </httpErrors> </system.webServer> </configuration>[/code] Adding other than 404 just change the 404 numbers. index.php?url=error is for RevCMS just make sure you have error.php in your theme from RevCMS! Enjoy! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
IIS web.config error pages!
Top