[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: "Per M Knutsen" <per.knutsen@xxxxxxxxxxxxxx>
- Date: Mon Sep 3 18:47:22 2001
- 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?
Create a file in the site's /web directory called .htaccess. In it, add the
following line:
ErrorDocument 404 http://domain.tld/notfound.html
Exchange 404 and http://etc for any other error you want to display
customized pages for.
Per M Knutsen
http://nethut.no/~pknutsen