[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] custom error pages
- Subject: Re: [cobalt-users] custom error pages
- From: "Hostmaster : Beyond2K" <Hostmaster@xxxxxxxxxxxxxx>
- Date: Mon Sep 3 19:38:13 2001
- Organization: Beyond2K
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Hello. I have a RaQ4i. I want to let one of my clients to customize the error pages of his site.
> In the /etc/httpd/conf/srm.conf the default alias for these error files is /cobalt_error/fileNotFound.html,
> etc. What can I do to provide customized error pages for ONLY one site?
Do it via .htaccess file placed in his /web dir.
ErrorDocument 400 pathandfilename
ErrorDocument 401 pathandfilename
ErrorDocument 404 pathandfilename
If you get internal server errors (500) after placing the .htaccess in the /web dir - check your AllowOverride settings in
access.conf and make sure they include FileInfo.
If you search the archives you will find a lot more info.
Brett
Beyond2K - Webmaster / Hostmaster
---------------------------------------------
The World's premier mobile phone boutique
With free SMS & free personal No's
www.b2kcomms.co.uk