[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?

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