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

Re: [cobalt-users] Custom 404 error page



Make an .htaccess in the root directory of the virtual site.
Add the following lines:

ErrorDocument 404 /notfound.html
ErrorDocument 500 /servererror.html

etc.

Now you have the page http://www.yoursite.com/notfound.html as 404 error page, http://www.yoursite.com/servererror.html as 500 error page, etc.

You can give whatever name you want in the error pages (e.g notfound.html)

Chris Fragogiannis



At 13:52 16/10/2001, you wrote:

>Has anybody tried this on a RaQ (4) before for a single virtual site?
>
>A customer is requesting it.
>
>Ta,
>Kevin.
>
>
>_______________________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To Subscribe or Unsubscribe, please go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users