I have a working apache-ssl config that redirects back to http.
I use https for user-login (/user/*), and http for anything else.
The rewriterules in my normal apache-config are:
RewriteRule ^(.*)/user/(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L] RewriteRule !\.(gif|css|jpg|png|jar|ico|js|pl)$ /ezroot/index.php
The rewriterules in my ssl-config are:
RewriteRule ^(.*)/user/(.*)$ /ezroot/index.php [L]
RewriteRule \.(gif|css|jpg|png|jar|ico|js)$ %{REQUEST_URI} [S=1] RewriteRule ^(.*) http://%{HTTP_HOST}$1 [L]