-----Original Message-----
From: Mxrgus Pxrt [mailto:mar...@tione.eu]
Sent: Sunday, December 12, 2010 4:28 PM
[...]
Components:
- client
- SSL offloader (Apache)
- Backend server (Apache)

RewriteCond %{HTTP:HTTPS} !=on
RewriteRule (.*) https://example.com/$1 [L,R=301]

I'm not sure if you've recieved an answer for this, but you could set a new header in the SSL-Offloader if the incomming request is indeed https, for example "RequestHeader set X-Forwarded-SSL %{HTTPS}e env=HTTPS".

Then in your backend application server you can check %{HTTP:X-Forwarded-SSL} in your RewriteCond.

/Björn

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to