tutes-dump/site-tutorials/FAQ/WEB/07

10 lines
298 B
Plaintext
Executable File

[07] CAN I DEFINE MY OWN 403, 404 and 405 ERRORDOCUMENTS?
Yes, just create an .htaccess file in your base html
directory and populate it with an entry like this:
ErrorDocument 404 /404.html
When the '404.html' file contains your custom 404
file not found error message.