Hi,
What does the '0' do ? (RewriteLocation 0|1|2)
And Cam, which valud did you have to use ?
Thanks, Anthony
----- Original Message -----
From: "Adam Lis" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, October 07, 2008 2:29 AM
Subject: Re: [Pound Mailing List] pound 2.4.3 + Redirect Loop
2008/10/6 Cam Roberts <[EMAIL PROTECTED]>:
I'm setting a header: AddHeader "X-Forwarded-Proto: https" and checking
it
via PHP. When the user is accessing a page that doesn't not require
https I
redirect them with php: header("location: http://....");
However, this doesn't have the expected effect, instead of redirecting to
the non-https version of the given page, it enters a redirect loop.
Firefox
reports:
RewriteLocation 0|1|2
If 1 force Pound to change the Location: and Content-location:
headers in responses. If they point to the back-end itself or to the
listener (but with the wrong protocol) the response will be changed to
show the virtual host in the request. Default: 1 (active). If the
value is set to 2 only the back-end address is compared; this is
useful for redirecting a request to an HTTPS listener on the same
server as the HTTP listener.
AdamLis;
--
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.
--
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.