SCRIPT_NAME & PATH_INFO %ENV variables

2007-10-24 Thread Lev Lvovsky
judging by this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg15609.html This might be an old question but I'm not entirely sure I understand the answer spelled out in the response. I have the following Location setting in my httpd.conf (via an include file): SetHandler perl-s

Re: SCRIPT_NAME & PATH_INFO %ENV variables

2007-10-24 Thread Randy Kobes
On Wed, 24 Oct 2007, Lev Lvovsky wrote: judging by this thread: http://www.mail-archive.com/[EMAIL PROTECTED]/msg15609.html This might be an old question but I'm not entirely sure I understand the answer spelled out in the response. I have the following Location setting in my httpd.conf (vi

Re: SCRIPT_NAME & PATH_INFO %ENV variables

2007-10-24 Thread Lev Lvovsky
On Oct 24, 2007, at 4:31 PM, Randy Kobes wrote: The code in CGI::Apache2::Wrapper: http://cpan.uwinnipeg.ca/htdocs/CGI-Apache2-Wrapper/CGI/Apache2/ Wrapper.pm.html#Apache2_URI provides a CGI-compatible url() method based on Apache2::URI: http://cpan.uwinnipeg.ca/htdocs/mod_perl/Apache2/URI.

Re: SCRIPT_NAME & PATH_INFO %ENV variables

2007-10-24 Thread Randy Kobes
On Wed, 24 Oct 2007, Lev Lvovsky wrote: On Oct 24, 2007, at 4:31 PM, Randy Kobes wrote: The code in CGI::Apache2::Wrapper: http://cpan.uwinnipeg.ca/htdocs/CGI-Apache2-Wrapper/CGI/Apache2/Wrapper.pm.html#Apache2_URI provides a CGI-compatible url() method based on Apache2::URI: http://cpan.uwinn

Re: SCRIPT_NAME & PATH_INFO %ENV variables

2007-10-24 Thread Lev Lvovsky
On Oct 24, 2007, at 9:01 PM, Randy Kobes wrote: I misunderstood your question - I thought you were trying to do this just under mod_perl, without CGI.pm. The CGI::Apache2::Wrapper package and CGI.pm are intended to give the same results, assuming the tests pass: http://search.cpan.org/src/RKOBE