Koozali.org: home of the SME Server

Customize the web error pages (404 etc...)

Tor Tveitane

Customize the web error pages (404 etc...)
« on: December 16, 2003, 12:00:15 PM »
Hi,

SME 6b3

How can I customize the different web error pages created by this server (Like 404 not found, forbidden, access denied etc...)

Thanks in advance for any hints on this issue

regards

Tor

Henk

Re: Customize the web error pages (404 etc...)
« Reply #1 on: December 16, 2003, 12:26:41 PM »
I´ve done it this way:

Install the htaccess rpm ( http://mirror.contribs.org/smeserver/contribs/nightspirit/ ).

After that you van put .htaccess files in your html area, and redirect to your errorpages.

byte

Re: Customize the web error pages (404 etc...)
« Reply #2 on: December 16, 2003, 12:55:30 PM »
Or you can edit under /etc/squid/errors see all error messages there and customise to your liking.