[jboss-dev-forums] [JBoss AS 7 Development] - Re: Rewrite condition not working?

Eric Eiswerth do-not-reply at jboss.com
Fri Jul 6 15:38:34 EDT 2012


Eric Eiswerth [https://community.jboss.org/people/eeiswerth] created the discussion

"Re: Rewrite condition not working?"

To view the discussion, visit: https://community.jboss.org/message/746719#746719

--------------------------------------------------------------
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".
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/746719#746719]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120706/48bd3c24/attachment.html 


More information about the jboss-dev-forums mailing list