If I try to access my web page via a web browser I get something similar to "Error too many redirects". I have a few rewrite rules, such as to force https and force anyone that tries to type www. to just make it go to my domain. This used to work fine on httpd 2.2 but on 2.4 it is giving me some problems.
RewriteEngine on
RewriteCond {HTTPS} off
RewriteRule (.*) https://{HTTP_HOST}:443%{REQUEST_URI}
Redirect permanent /
https://mydomain.com/
These options redirect HTTP to HTTPS and forces non-www