[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] dir specific 404
- Subject: RE: [cobalt-users] dir specific 404
- From: "Carrie Bartkowiak" <admin@xxxxxxxxxxxxxxxxxx>
- Date: Tue Nov 21 21:29:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
||>is it possible to serve a dir specific 404 page?
||>
||>if so, how would i do it?
No idea here if you're a client on someone's Cobalt or if you're a sysadmin.
If you're a sysadmin, you can let all of your domains have their own custom
error pages by doing one simple change in your srm.conf file. It's
documented on the srm.conf (down near the bottom); here's what mine looks
like:
#Changed so that users can automatically set their own error files without
#using an .htaccess file. Original lines are commented below for debugging
ErrorDocument 401 /401.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
#We leave 500 as-is so that people can better debug scripts
#ErrorDocument 401 /cobalt_error/authorizationRequired.html
#ErrorDocument 403 /cobalt_error/forbidden.html
#ErrorDocument 404 /cobalt_error/fileNotFound.html
ErrorDocument 500 /cobalt_error/internalServerError.html
And I agree, if you're a client and your host is charging you to do an error
page, exit stage right immediately.
Carrie Bartkowiak