LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   change default error page for apache (https://www.linuxquestions.org/questions/linux-networking-3/change-default-error-page-for-apache-235045/)

linuxtesting2 09-25-2004 07:24 AM

change default error page for apache
 
how do i change the default error page for apache. This is the page that shows when you cant find a file on the server, like this:

Not Found
The requested URL /lksdl was not found on this server.


I want another html page to appear, or change the content.

-ole

linuxtesting2 09-25-2004 07:31 AM

i found it... the ErrorDocument 404 /missing.html file i could change in the httpd.conf

mrjamin 09-26-2004 07:38 AM

Quote:

Originally posted by linuxtesting2
i found it... the ErrorDocument 404 /missing.html file i could change in the httpd.conf
You can stick it in an .htaccess file to add directory specific error documents too, just make sure that the error document file is requested relative to the root directory.


All times are GMT -5. The time now is 02:54 AM.