[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] 404 Errors with new 128 bit ssl on Raq 3i
- Subject: Re: [cobalt-users] 404 Errors with new 128 bit ssl on Raq 3i
- From: "Michael Zimmermann" <zim@xxxxxxxx>
- Date: Thu Apr 20 12:38:33 2000
Hi David,
you wrote:
> I installed the 128 bit security update on a Raq3i and did a self
> signed certificate for the box. After doing this, any time a bad
> URL is entered for any site on the box, a security / certificate
> warning window appears before displaying the default error file
> not found page.
This is handled in the Apache HTTP server. When an error is ecountered
by the httpd server, it sends an error-document instead (at least
that's the default RAQ3 installation).
One simple method is it (which I prefer anyway) to switch off
all special error handling and let the server send back the plain
error-code instead of the error-document.
What to do:
------------
As root
cd /etc/httpd that's where the httpd config
files reside
cp srm.conf srm.conf.save better save old configs first :-)
vi srm.conf edit the file as follows:
comment the following lines out
ErrorDocument 401 /cobalt_error/authorizationRequired.html
ErrorDocument 403 /cobalt_error/forbidden.html
ErrorDocument 404 /cobalt_error/fileNotFound.html
ErrorDocument 500 /cobalt_error/internalServerError.html
then save srm.conf and let the httpd re-read it's config-files with
kill -SIGHUP `cat /var/run/httpd.pid`
Done
-----
There is also the more luxurious way to allow each site to have it's
own error-documents, but I prefer it plain and simple. This way
search-spiders will get the plain error when they re-index the sites.
Michael