detecting scheme (http or https)

2005-12-08 Thread tom . kirkpatrick
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. -- Tom Kirkpatrick Web Developer - Virus Bulletin

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.

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

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 backend.

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.

Re: Strange APR::UUID Issue on OpenBSD in Makeifle.PL

2005-12-08 Thread Randy Kobes
On Tue, 6 Dec 2005, Christopher H. Laco wrote: Christopher H. Laco wrote: I'm headed out for the day, so I apologize for the email-and -un. I posted this last night to PerlMonks, and I'll post it to the EU::MM list when I get home: http://perlmonks.org/?node_id=513773 Long story short, I got

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 things

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 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: Strange APR::UUID Issue on OpenBSD in Makeifle.PL

2005-12-08 Thread Christopher H. Laco
Randy Kobes wrote: On Tue, 6 Dec 2005, Christopher H. Laco wrote: Christopher H. Laco wrote: I'm headed out for the day, so I apologize for the email-and -un. I posted this last night to PerlMonks, and I'll post it to the EU::MM list when I get home: http://perlmonks.org/?node_id=513773

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: Mason and mod_rewrite

2005-12-08 Thread Diona Kidd
Eric, Thank you so much for the ideas! Turns out Easy Fix #1 was the ticket and kept the project within requirements. Unfortunately, I can't redirect due to project requirements. That would have made this much simpler. Still working on implementation but tests have proved successful. This