[Chugalug] Another mod_rewrite question

wes wes at the-wes.com
Fri Sep 21 04:49:41 UTC 2012

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

site1 http: serve site.
site1 https: rewrite to http

site2 http: rewrite to https
site2 https: serve site

if that made any sense :)


On Thu, Sep 20, 2012 at 9:46 PM, Stephen Haywood <
stephen at averagesecurityguy.info> wrote:

> 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
> T: @averagesecguy
> W: averagesecurityguy.info
> _______________________________________________
> Chugalug mailing list
> Chugalug at chugalug.org
> http://chugalug.org/cgi-bin/mailman/listinfo/chugalug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20120920/4294426c/attachment.html>

More information about the Chugalug mailing list