Valhalla Legends Archive

Programming => Web Development => Topic started by: Crypticflare on June 13, 2003, 12:35 AM

Title: Custom 404 Messages
Post by: Crypticflare on June 13, 2003, 12:35 AM
If I add the file .htaccess in my web directory (www) and in it put 404 Error/404.html then have 404.html my file I want to be displayed for the incorrect file directory it should show my custom error message right? I tried it and to no avail it did not work :/
Title: Re:Custom 404 Messages
Post by: Thing on June 13, 2003, 06:21 AM
The correct syntax is:
ErrorDocument 404 /path/to/whatever.html

If you just want to display a message, you can do this:
ErrorDocument 404 "Some message here"

Title: Re:Custom 404 Messages
Post by: JoeCool on July 09, 2003, 09:28 PM
yea what that "thing" said.. its a THIGN omfg a THING its a THING with that THING on his head omfg ITS "IT" THE KILLER CLOWN!
Title: Re:Custom 404 Messages
Post by: Crypticflare on July 09, 2003, 10:56 PM
Someones created a monster. Put him down quick.
Title: Re:Custom 404 Messages
Post by: Mesiah / haiseM on July 10, 2003, 11:41 AM
Also in your Advanced Internet Options (If using IE) you need to disable the 'Show Friendly HTTP Error Messages'.