Turning non-SSL traffic off
"Hoda Nadeem" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ssl.user |
|---|---|
| Message-ID | <EE780E457BC23344B61438FE3608F16EA069F4@MCLNEXVS07.resource.ds.bah.com> |
What is the easiest and cleanest way to entirely turn all non-SSL
traffic off and only allow SSL traffic to pass through?
Thanks.
Nadeem
Note: We are trying to use mod_rewrite, and it is currently messing up
the mod_jk connector:
<IfModule mod_rewrite.c>
RewriteEngine On
#Accept nothing else than login processing on port 443
RewriteCond %{SERVER_PORT} !443
RewriteRule ^/(.*) <our domain name>/$1 [L,R]
</IfModule>