Latest Post

Error: No input file specified.

While trying to run a codeigniter app the other day I came across this error just after I had finished uploading the files and making the ne...

Monday, February 7, 2011

Enable Classic ASP custom error pages

After days of searching the web and nagging my host i finally came across this piece of code from here

It was just what i needed to show classic ASP custom error pages using the config file

<?xml version="1.0" encoding="UTF-8"?><configuration> <system.webServer> <httpErrors> <remove statusCode="500" subStatusCode="100" /> <error statusCode="500" subStatusCode="100" prefixLanguageFilePath="" path="/error-500.asp" responseMode="ExecuteURL" /> </httpErrors> </system.webServer></configuration>

2 comments:

Chitika Ads