I've got mod_ssl-2.6.6 / apache 1.3.12 running very nicely, and have a 
question regarding the possibility of configuring / changing the default pages 
returned to end-users (ie, web browsers) when something funny is up.

The only solid example I've got is thus:

-point your web browser to a SSL-enabled/configured server with a URL thus:

http://web.server.name:443/

and Mod_SSL will return an error page thus:

---8<----paste-----8<----

Bad Request

Your browser sent a request that this server could not understand.

Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

     Hint: https://web.server.name:443/

---8<---end-paste-----8<----

Ideally, it would be nice if we could tweak this error message such that
the appearance of the error message page was more in keeping with our
web site appearance / theme.

I know from another apache module I've worked with that sometimes one
can provide a directive in the httpd.conf an "alternate (error) HTML content" 
dir, ie, in httpd.conf, include something like

AuthSecurID_CustomDir=/opt/apache/conf/securid

and then placing in the specified directory files such as err1.html, err2.html 
etc... which are returned to end users instead of the default error messages.

If anyone knows if such a directive or other means in Mod_SSL to achieve this 
end, please send me an Email ([EMAIL PROTECTED])

Thanks very much for your assistance,


Tim Chipman

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to