SYRAA SERVERS
Web Hosting , Internet solutions , Domains Register
Custom default error pages for all users
To edit 404 page for example ,
do the following :
1) Edit the apache configuration file : vi /usr/local/apache/conf/httpd.conf
2) Search for "ErrorDocument 404 /404.shtml"
3) Change the last part [/404.shtml] to whatever page you want the 404 to be set
to for example:
"ErrorDocument 404 http://domain.com/my404.html"
or
"ErrorDocument 404 /home/CustErr/404.html"
4) Save the file & exit.
5) Restart the apache server/service [service httpd restart].