This is a discussion on Turning non-SSL traffic off within the Modssl Users forums, part of the Web Server and Related Forums category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C5816F.C70E88D3 Content-Type: text/plain; charset="us-ascii&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C5816F.C70E88D3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =20 What is the easiest and cleanest way to entirely turn all non-SSL traffic off and only allow SSL traffic to pass through?=20 =20 Thanks.=20 =20 Nadeem =20 Note: We are trying to use mod_rewrite, and it is currently messing up the mod_jk connector: =20 <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]=20 </IfModule> ------_=_NextPart_001_01C5816F.C70E88D3 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial size=3D2>What = is the easiest=20 and cleanest way to entirely turn all non-SSL traffic off and only allow = SSL=20 traffic to pass through? </FONT></SPAN></DIV> <DIV><SPAN class=3D057423714-05072005></SPAN><SPAN = class=3D057423714-05072005><FONT=20 face=3DArial size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial = size=3D2>Thanks.=20 </FONT></SPAN></DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial=20 size=3D2>Nadeem</FONT></SPAN></DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial size=3D2>Note:=20 </FONT></SPAN><SPAN class=3D057423714-05072005><SPAN=20 class=3D057423714-05072005><FONT face=3DArial size=3D2>We are trying to = use=20 mod_rewrite, and it is currently messing up the mod_jk=20 connector:</FONT></SPAN></DIV> <DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D057423714-05072005><FONT face=3DArial = size=3D2><EM><IfModule=20 mod_rewrite.c></EM></FONT></DIV> <DIV> <P><FONT face=3DArial><FONT size=3D2><EM><SPAN=20 class=3D057423714-05072005> </SPAN>RewriteEngine=20 On</EM></FONT></FONT></P> <P><FONT face=3DArial><FONT size=3D2><EM><SPAN=20 class=3D057423714-05072005> </SPAN>#Accept nothing = else than=20 login processing on port 443</EM></FONT></FONT></P> <P><FONT face=3DArial><FONT size=3D2><EM><SPAN=20 class=3D057423714-05072005> </SPAN>RewriteCond = %{SERVER_PORT}=20 !443</EM></FONT></FONT></P> <P><FONT face=3DArial><FONT size=3D2><EM><SPAN=20 class=3D057423714-05072005> </SPAN>RewriteRule = ^/(.*) <SPAN=20 class=3D057423714-05072005><our domain name>/$1</SPAN> [L,R]=20 </EM></FONT></FONT></P> <P><FONT face=3DArial=20 size=3D2><EM></IfModule></EM></FONT></P></SPAN></DIV></SPAN></DIV><= /BODY></HTML> ------_=_NextPart_001_01C5816F.C70E88D3-- __________________________________________________ ____________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List modssl-users@modssl.org Automated List Manager majordomo@modssl.org |