where can I edit the default server error templates?

aww

Well-Known Member
#1
In cpanel with apache running you can edit the files in
/usr/local/apache/htdocs/
ie. htaccess & 404.html etc.
to control the server wide error message defaults.

With litespeed I cannot quite figure it out.
It throws it's own internal error messages if I try to go to
ie. http://www.litespeedtech.com/.htaccess

How can I affect that? Thank you.
 

vivek

Well-Known Member
#2
In cpanel with apache running you can edit the files in
/usr/local/apache/htdocs/
ie. htaccess & 404.html etc.
to control the server wide error message defaults.

With litespeed I cannot quite figure it out.
It throws it's own internal error messages if I try to go to
ie. http://www.litespeedtech.com/.htaccess

How can I affect that? Thank you.
I know that , we can change the error pages for a single vhost.
But I am not sure , how do we change it globally for every domaians hosted on a server
 

mistwang

LiteSpeed Staff
#3
The configuration will applied to all vhosts when you set "ErrorDocument" directive, just that not all vhost has the 404.html in their document root. If available, the custom page will be used.
 
Top