-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
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
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
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
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
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
- "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
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
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
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),
10 matches
Mail list logo