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.
>
> Err
Sorry, the php-code for rediret is "header("location: ".$url);". My
memory is not what it used to be
Brian Candler wrote:
I would like users to be able to put an incantation in their .htaccess files
which says: "if this directory was not accessed via SSL, then issue a
redirect to https://
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
In "ssl_auto_redirect.php" you dete
I would like users to be able to put an incantation in their .htaccess files
which says: "if this directory was not accessed via SSL, then issue a
redirect to https://";
I know about SSLRequireSSL, but that just rejects the request.
Is there a way to do this short of using mod_rewrite? I am u