PDA

View Full Version : Question on custom error pages


Auz
02-07-2006, 11:56 PM
I added custom error pages to my vhost and it works fine. However, it redirects the URL to that specific error URL. Is there anyway to make it include the error page and keep the original URL rather than redirecting? Or perhaps there is a way to modify the default error pages?

thanks
-auz

mistwang
02-08-2006, 12:08 AM
It should not be redirected if you use a URL like "/error404.html", I think you are using an absolute URL like "http://<your_host>/error404.html"

Auz
02-08-2006, 12:27 AM
Ah, great. Yes, that does it.

So the default error pages are compiled into lsws?

thanks
-auz

mistwang
02-08-2006, 12:30 AM
So the default error pages are compiled into lsws?
Yes.