This content has been marked as final.
Show 1 reply
-
1. Re: Rewrite condition not working?
eeiswerth Jul 6, 2012 3:38 PM (in response to eeiswerth)I should clarify, what my rewrite.properties looks like is this:
RewriteCond %{REQUEST_URI} ^foo$
RewriteCond %{HTTP:X-Forwarded-Proto} http
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
The intention is to redirect to HTTPS iff the URL is "foo".