httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <>
Subject Re: [users@httpd] Redirect conditional on SSL/non-SSL
Date Thu, 18 Aug 2005 13:44:04 GMT
On Wed, Aug 17, 2005 at 01:26:52PM +0200, Mads Rosendahl wrote:
> Hi Brian,
> A very simple solution that works on any type of webserver is to replace 
> the standard 403.4
> "SSL Required" error document with some sort of automatic redirect code. 
> In apache.conf
> you would put e.g.
>  ErrorDocument 403 /error/ssl_auto_redirect.php

Hmm, that's a thought - although a 403 will also be generated for other
types of error (e.g. bad username/password in a protected area), so care
would be needed not to get into an infinite redirect loop...



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message