Error pages - win38

bro

Perch
Hsphere custom error pages don't seem to work. The default 404 page on server 2008 is a little dramatic. Is this enabled, or is there a delay after setting up a new one in CP before it will work?
 
We were working to see why your sites were having an issue running in the app pools, it may be that we made it give detailed errors on all.

However in windows 2008 you can control that with the web.config as well and make your own totally custom errors, just as a FYI :)

I will say best to submit a ticket for the domains you are seeing the full windows error and we can set it to only show those on local server again, and non detailed (custom if set) remote.
 
I guess I'll put a ticket in. I'd like the Hsphere redirect CP ones to work, mainly just for the 404 pages, but still would like to see full messages on ASP errors and the like. Nothing worse than trying to debug when about all you get is '500 error. It's not working.' :)
Is that possible?

I tried the web.config file, but I always have problems getting those to work and usually give up. I added

<?xml version="1.0"?>
<configuration>
<system.webServer>
<httpErrors>
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" path="http://www......org/missing-page.asp" responseMode="Redirect" />
</httpErrors>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>

but all that does is show "The page cannot be displayed because an internal server error has occurred." if you try a non-existent URL. (I got it from some ASP site.) If anyone has a file that does work, please post it.
 
You can try to use :

<system.webserver>
<httperrors errormode="Custom">
<!-- Non-ASPX pages -->
<remove statuscode="404" substatuscode="-1" />
<error statuscode="404" prefixlanguagefilepath="">
path="/errors/404.aspx" responseMode="ExecuteURL" />
</error></httperrors>
</system.webserver>

If still not work for you Then suggest to you open a support ticket.
 
Back
Top