Customized Error Pages problem

PSS

Well-Known Member
#1
I'm trying to replace default error 408

Request Timeout

This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.​

with my own page. The admin interface is very clear and simple, but simply can't get it to work. 408 always returns the default text. I've tried placing my 408.html to other domains, different servers. Nothing works. 408.html is just a simple html page with one image.

As 404 errordocument the same 408.html document works ok.

Any ideas?
 

mistwang

LiteSpeed Staff
#5
It should work, make sure the file for the custom error do not have permission issue, try access that page directly, see what do you get.
 

mistwang

LiteSpeed Staff
#7
You have make that page accessible via URL like "/error401.html" or whatever, if it is not somewhere under the document root directory, you need to create a "static" context to assign that URL to that file.
 
Top