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

RE: [cobalt-users] Custom 404 error page



If you have <virtualhost x> you can put custom ErrorDocument 404
specifications in there too. Just make sure the file spec you use is
accessible to that virtual host.

If ErrorDocument is working but you don't have access to the file you will
get a slightly different 404 error message (in the browser) stating
something like ...in addition an error occurred trying to access the error
document.


-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of The Thieving
Gypsy
Sent: Tuesday, October 23, 2001 10:16 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] Custom 404 error page



Thus spake Edward Bishop:

> I'm really sorry to bring this one up again because I know it's been done
> to death. But I have read dozens of entries in the archive and tried
> everything they say. I've also read all the web articles they point to.
And
> I still can't get a custom 404 error page to work on my RaQ4. If I try to
> browse to a nonexistent page, I just get the normal IE "The page cannot be
> found" screen.
>
> To summarize what I have tried:
>
> CHMOD on .htaccess to 664 and 777
> Editing access.conf to allow override of FileInfo (alto tried "all")
> Restarting httpd after every edit of access.conf
> Tabs instead of spaces in .htaccess
> Just a message beginning with " instead of a page referral in .htaccess
>
> I've got a hunch someone on the list has also been through all this and
got
> there in the end?
>
> Many thanks
>
> Eddie Bishop

The default setting in the access.conf file for RaQ4s is to prevent
.htaccess
files from working - you need to turn them on by changing the line
"AllowOverride None" line to "AllowOverride All".

Alternatively, if you just want to use one error document for the whole
server, you can just edit the srm.conf file -  again, look for the
"ErrorDocument" entries.

The syntax for this is the same as in an htaccess file - ie "ErrorDocument
404 /path/to/fle"

Cheers,

Dave Rowlands
Verio UK

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users