Home > Linux > CentOS custom 404 page

CentOS custom 404 page

January 13, 2014

Edit httpd.conf and enable to command:

ErrorDocument 404 /404.html

Create a 404.html file in /var/www/ then restart httpd service.

Advertisements
Categories: Linux Tags:
%d bloggers like this: