Apache Custom Error messages

4 posts / 0 new
Last post
#1 Fri, 04/17/2009 - 07:44
username9

Apache Custom Error messages

How to make apache serve out custom error page? I know how to do this at a sub-server level. However i want to do this for all of apache. Please advise. Thanks

|/

Fri, 04/17/2009 - 08:14
andreychek

Well, you can put ErrorDocument directives in your main Apache config like so:

http://httpd.apache.org/docs/2.0/mod/core.html#errordocument

However, similar to other Apache directives, I'm not sure that additional VirtualHosts would inherit those settings. You'll may need to experiment a bit ;-)

You can of course add any settings that aren't inherited into the Virtualmin server template, so that they are automatically added to each Virtual Server that is added to your system.
-Eric

Sun, 06/07/2009 - 07:52
username9

Thanks Andrey for the reply.
\|/

|/

Tue, 10/18/2011 - 08:05 (Reply to #3)
pletiplot

What about Error handling section in Website Configuration?

Topic locked