Another mod_rewrite question

From: Stephen Haywood 
------------------------------------------------------
I have virtual hosts running on a single apache server. I want to force one
to go to https for all requests and I want the other to be http only. Is
this possible?

-- 
Stephen Haywood
Information Security Consultant
CISSP, GPEN, OSCP
T: @averagesecguy
W: averagesecurityguy.info

=============================================================== From: wes ------------------------------------------------------ you're basically going to have to have 4 vhosts in total. http and https for each site. craft rewrite rules to direct traffic where you want it to go. site1 http: serve site. site1 https: rewrite to http site2 http: rewrite to https site2 https: serve site if that made any sense :) -wes

=============================================================== From: Stephen Haywood ------------------------------------------------------ Spoke too soon. Just found RewriteCond %{HTTP

=============================================================== From: Stephen Haywood ------------------------------------------------------ Makes sense.