Re: detecting scheme (http or https)

2005-12-09 Thread Charlie Garrison
Good morning, On 8/12/05 at 10:09 AM -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: >On Thu, 2005-12-08 at 09:02 -0600, JT Smith wrote: >> That's what I'm saying, mod_proxy IS proxying mod_perl. However, the >> HTTPS environment variable doesn't come through the proxy. > >You will have two diff

Re: detecting scheme (http or https)

2005-12-08 Thread Perrin Harkins
On Thu, 2005-12-08 at 09:13 -0600, JT Smith wrote: > Ah. Thanks. It's a bit clunky, but it will work. Thanks for the idea. You could also set a header in the request, like the X-Forwarded-For business, but that requires a little code and a recompile. - Perrin

Re: detecting scheme (http or https)

2005-12-08 Thread JT Smith
Ah. Thanks. It's a bit clunky, but it will work. Thanks for the idea. On Thu, 08 Dec 2005 10:09:17 -0500 Perrin Harkins <[EMAIL PROTECTED]> wrote: On Thu, 2005-12-08 at 09:02 -0600, JT Smith wrote: That's what I'm saying, mod_proxy IS proxying mod_perl. However, the HTTPS environment variable

Re: detecting scheme (http or https)

2005-12-08 Thread tom . kirkpatrick
JT Smith <[EMAIL PROTECTED]> wrote on 08/12/2005 14:56:59: > Similar question: Let's say you have a mod_proxy apache set up in > front of a mod_perl > apache. Is there any way to tell on mod_perl that the connection > came through https on > mod_proxy? > > > On Thu, 8 Dec 2005 12:27:41 +0100

Re: detecting scheme (http or https)

2005-12-08 Thread Perrin Harkins
On Thu, 2005-12-08 at 09:02 -0600, JT Smith wrote: > That's what I'm saying, mod_proxy IS proxying mod_perl. However, the HTTPS > environment > variable doesn't come through the proxy. You will have two different hosts on your proxy -- one for HTTP, and one for HTTPS. Have one of them send thin

Re: detecting scheme (http or https)

2005-12-08 Thread JT Smith
On Thu, 2005-12-08 at 08:56 -0600, JT Smith wrote: Similar question: Let's say you have a mod_proxy apache set up in front of a mod_perl apache. Is there any way to tell on mod_perl that the connection came through https on mod_proxy? Proxy it to a different virtual host on the backend. That

Re: detecting scheme (http or https)

2005-12-08 Thread Perrin Harkins
On Thu, 2005-12-08 at 08:56 -0600, JT Smith wrote: > Similar question: Let's say you have a mod_proxy apache set up in front of a > mod_perl > apache. Is there any way to tell on mod_perl that the connection came through > https on > mod_proxy? Proxy it to a different virtual host on the backe

Re: detecting scheme (http or https)

2005-12-08 Thread JT Smith
Similar question: Let's say you have a mod_proxy apache set up in front of a mod_perl apache. Is there any way to tell on mod_perl that the connection came through https on mod_proxy? On Thu, 8 Dec 2005 12:27:41 +0100 Torsten Foertsch <[EMAIL PROTECTED]> wrote: On Thursday 08 December 2005 1

Re: detecting scheme (http or https)

2005-12-08 Thread Torsten Foertsch
On Thursday 08 December 2005 11:42, [EMAIL PROTECTED] wrote: > Is there a way that I can find out how a user has requested a page? > Everything I have read suggests that I can do it by > $r->parsed_uri->scheme, but this always seems to yeild undef. This is for mp2: In the response phase you can u

Re: detecting scheme (http or https)

2005-12-08 Thread Jonathan Steffan
[EMAIL PROTECTED] wrote: Is there a way that I can find out how a user has requested a page? Everything I have read suggests that I can do it by $r->parsed_uri->scheme, but this always seems to yeild undef. thanks in advance. It would help alot if you showed us what you are working with.