PDA

View Full Version : where can I edit the default server error templates?


aww
02-13-2008, 12:40 AM
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
02-18-2008, 10:09 PM
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
02-19-2008, 11:18 AM
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.