httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject [users@httpd] Redirect conditional on SSL/non-SSL
Date Wed, 17 Aug 2005 10:24:14 GMT
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message