[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

404 custom page (OT?)



I’m not sure if there is an Apache list or not, but I’ve had good response from this group for most other things Linux…

 

I want to set up custom error pages on the web server.  I have an ‘errors’ directory in the root (/var/www/html) and have set the following line in the /var/www/html/.htaccess file:

ErrorDocument 404 /errors/custom404.html

 

(I found this at 404pros).

 

I restarted the Apache service, but I still get the default Apache 404 error page.

 

Thanks for the help.

 

John

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]