Question on custom error pages

#1
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

LiteSpeed Staff
#2
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"
 
Top