96
Okay, what if you want to rewrite so that any user visiting a particular module, such as liaise, gets https: and not http: and then if they leave liase, they automatically get http: back?
This is close, it makes any non-liase page go back to http:, but it makes my SSL break on liase pages, but only in Firefox:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTPS} on [NC]
RewriteRule !^modules/liaise http://%{HTTP_HOST}%{REQUEST_URI} [R,L]
I think it has something to do with the images referred to in the CSS of the theme? I tried hard coding all those to https, but that doesn't help.
So I tried this:
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTPS} on [NC]
RewriteRule !^/*(^modules/liaise|^themes/themename) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Hoping to include anything in the themes folder as well as the liaise folder, but no joy. Still broken lock icon in Firefox
Anyone know what I'm doing wrong here?
**Edited*/