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

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