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

Re: [cobalt-users] Custom 404 error page



> > >>  > I still can't get a custom 404 error page to work on my RaQ4
> > >>  > Either I'm doing something stupid, or there's something else we
> > >>  > don't know yet.
> > >>  >
> > >>  > Any further ideas will be gratefully and hungrily latched upon and
> tried.
>
Can you put a server wide ErrorDocument in srm.conf and have it work.
This would be a default for the server, unless overridden by local
ErrorDocuments in a VirtualHost.

look  in /etc/httpd/conf/srm.conf for

ErrorDocument 401 /cobalt_error/401.html
ErrorDocument 403 /cobalt_error/forbidden.html
#ErrorDocument 404 /cobalt_error/fileNotFound.html
ErrorDocument 404 /cobalt_error/404.html

And change the file name and location to your custom server-wide document.

Gerald