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

Re: [cobalt-users] custom error pages



> 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