Hi JMCarrigan,
Do you know if you can use .htaccess, most likely you can, so try this:1) In the root directory of each domain - i.e. /var/www/thisdomain/ - create a blank text file call .htaccess
2) In each .htaccess file you need to do the following but changing to the appropriate domain:
Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80 # Any request that goes to port 80 (http)
RewriteRule ^(.*)$ https://www.thisdomain.com/$1 [R,L] #Rewrite it to https
Do you really need to use https for all requests it creates more overhead in apache. Could you instead specify only the pages you need to have as https?
I hope this helps. I can't be called close to a mod_rewrite expert, but I've been learning. This worked when I tested it.
Regards,
Steve
Bookmarks