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://....";

I know about SSLRequireSSL, but that just rejects the request.

Is there a way to do this short of using mod_rewrite? I am using Apache 1.3
and mod_ssl.

Thanks,

Brian.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to