Re: [us...@httpd] SetEnv HTTPS on... not working. (UNCLASSIFIED)

2010-12-17 Thread Björn Zettergren
-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 r

Re: [us...@httpd] SetEnv HTTPS on... not working. (UNCLASSIFIED)

2010-12-13 Thread Mxrgus Pxrt
SS Gateway Hawaii EMAIL: dwight.victor@disa.mil TEL: (808) 653-3677 ext 229 -Original Message- From: Mxrgus Pxrt [mailto:mar...@tione.eu] Sent: Sunday, December 12, 2010 4:28 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] SetEnv HTTPS on... not working. Hey! I did not m

RE: [us...@httpd] SetEnv HTTPS on... not working. (UNCLASSIFIED)

2010-12-13 Thread Victor, Dwight P CTR DISA PAC
Message- From: Mxrgus Pxrt [mailto:mar...@tione.eu] Sent: Sunday, December 12, 2010 4:28 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] SetEnv HTTPS on... not working. Hey! I did not mean that I want HTTP to HTTPS transparency (although, I can't see how do they differ to end applic

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-12 Thread Mxrgus Pxrt
Hey! I did not mean that I want HTTP to HTTPS transparency (although, I can't see how do they differ to end application - communication from client to server is over SSL with HTTPS + few additional environmental values - should not affect end app). I'll try to explain, what I ment with an ex

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-11 Thread Jeroen Geilman
On 12/10/10 12:55 PM, Mxrgus Pxrt wrote: I have SSL offloader, what checks wheather user came using HTTP or HTTPS (sends accordingly header.) As I want it to be transparent to application and available to .htaccess, I use apaches values. I want to overwrite them. Switching from HTTP to HTTPS

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-10 Thread Mxrgus Pxrt
I have SSL offloader, what checks wheather user came using HTTP or HTTPS (sends accordingly header.) As I want it to be transparent to application and available to .htaccess, I use apaches values. I want to overwrite them. Br, Margus On 12/10/2010 10:27 AM, Igor Galić wrote: - "Mxrg

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-10 Thread Igor Galić
- "Mxrgus Pxrt" wrote: > Hello! > > I have SSL offloader sending HTTPS header to backend server. > > In backend server I have: > SetEnvIf HTTPS "(..*)" HTTPS=$1 > RewriteCond %{HTTPS} !=on > RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}?%{HTTPS} > [L,R=301] > > And it causes in

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-09 Thread Igor Cicimov
Actually I would even change the name of the variable HTTPS because it clashes with the HTTPS apache one. SetEnvIf Request_Protocol ^HTTPS.* IS_HTTPS if you want to use this variable later. But basically don't you get the same logic still, I mean you are setting the variable but still by checking

Re: [us...@httpd] SetEnv HTTPS on... not working.

2010-12-09 Thread Igor Cicimov
http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html#setenvif Request_Protocol - the name and version of the protocol with which the request was made (*e.g.*, "HTTP/0.9", "HTTP/1.1", *etc.*) so I would try SetEnvIf Request_Protocol ^HTTPS.* HTTPS Cheers, Igor On Fri, Dec 10, 2010 at 11:31

[us...@httpd] SetEnv HTTPS on... not working.

2010-12-09 Thread Mxrgus Pxrt
Hello! I have SSL offloader sending HTTPS header to backend server. In backend server I have: SetEnvIf HTTPS "(..*)" HTTPS=$1 RewriteCond %{HTTPS} !=on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}?%{HTTPS} [L,R=301] And it causes infinite redirect loop (to https://server/url/?off),