Re: mod_perl 2: APR::URI scheme and path_info

2003-10-02 Thread Matisse Enzer
Thanks, I'll use the return 'https' if uc($self->https()) eq 'ON'; approach. At 5:06 PM -0700 10/2/03, Stas Bekman wrote: Matisse Enzer wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I tried: my $scheme = APR::URI->parse($r->pool, $r-

Re: mod_perl 2: APR::URI scheme and path_info

2003-10-02 Thread Geoffrey Young
Stas Bekman wrote: Matisse Enzer wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I tried: my $scheme = APR::URI->parse($r->pool, $r->uri)->scheme; and it didn't seem to work. My server is on port 9000 but I got nothing in $scheme. Ai, my

Re: mod_perl 2: APR::URI scheme and path_info

2003-10-02 Thread Stas Bekman
Matisse Enzer wrote: -8<-- Start Bug Report 8<-- 1. Problem Description: I tried: my $scheme = APR::URI->parse($r->pool, $r->uri)->scheme; and it didn't seem to work. My server is on port 9000 but I got nothing in $scheme. Ai, my bad, sorry about that.

Re: mod_perl 2: APR::URI scheme and path_info

2003-10-02 Thread Matisse Enzer
I mean to say my server is running under http (not https) - (It is running on port 9000, in case that makes a differece.) and it didn't seem to work. My server is on port 9000 but I got nothing in $scheme. -- -- Matisse Enzer Doodlelab Inc. 415-925-5294 ex

Re: mod_perl 2: APR::URI scheme and path_info

2003-10-02 Thread Matisse Enzer
-8<-- Start Bug Report 8<-- 1. Problem Description: I tried: my $scheme = APR::URI->parse($r->pool, $r->uri)->scheme; and it didn't seem to work. My server is on port 9000 but I got nothing in $scheme. At 4:53 PM -0700 10/1/03, Stas Bekman wrote: Mat

Re: mod_perl 2: APR::URI scheme and path_info

2003-10-01 Thread Stas Bekman
Matisse Enzer wrote: my $uri = APR::URI->parse; I want to find out what the scheme (http, https) was for the current request. APR::URI->parse($r->pool, $r->uri)->scheme; I also want to find out (and maybe set) the path_info What's the right way to do this? $path_info = $r->path_info; $r->p

mod_perl 2: APR::URI scheme and path_info

2003-10-01 Thread Matisse Enzer
Title: mod_perl 2: APR::URI scheme and path_info     my $uri = APR::URI->parse; I want to find out what the scheme (http, https) was for the current request. I also want to find out (and maybe set) the path_info What's the right way to