Mobile app version of vmapp.org
Login or Join
Angela700

: I'm pretty sure you can do this with straight mod_rewrite rules (using a rewriteCond on HTTP_HOST), but from a configuration-management standpoint it may be easier to take a different tack:

@Angela700

I'm pretty sure you can do this with straight mod_rewrite rules (using a rewriteCond on HTTP_HOST), but from a configuration-management standpoint it may be easier to take a different tack: I assume you're running each SSL site on its own IP address (because SNI support isn't quite universal yet, though getting close). In this case I would go for the easy solution and set up virtual hosts for each IP (1.2.3.4:80) that forward to the SSL version exactly as you have above.

If you're relying on SNI (everyone is on one IP) you can do the same thing with a NameVirtualHost on port 80...

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme