What you are looking for is the "ErrorDocument" directive, in this case it's
a 400 error.
The line
ErrorDocument 400 /error.html
In your httpd.conf file will mean that the server will display this page
instead for 400 errors.
-
John Airey
Internet Systems Support Officer, ITCSD, Royal National Institute for the
Blind,
Bakewell Road, Peterborough PE2 6XU,
Tel.: +44 (0) 1733 375299 Fax: +44 (0) 1733 370848 [EMAIL PROTECTED]
> -----Original Message-----
> From: Tim Chipman [mailto:[EMAIL PROTECTED]]
> Sent: 22 November 2000 16:47
> To: [EMAIL PROTECTED]
> Subject: Query re: Customization of Mod_SSL Error(s) returned to
> end-users?
>
>
> 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]
>
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]