$r-path_info question

2002-07-23 Thread simran
Hi All, If i use hte following configuration: apache.conf Location /auto/thumbnails SetHandler perl-script PerlHandler My::Thumbnails /Location Then in my handler sub in Thumbnails.pm do: == my $r = instance Apache::Reuest(shift);

Re: $r-path_info question

2002-07-23 Thread darren chamberlain
* simran [EMAIL PROTECTED] [2002-07-23 05:11]: However: if i create an 'auto' directory in my document root (something that was not there before) [-- snip --] Is this is feature or a bug, does path_info not check the 'Location' it matced the handler to or is it meant to look at the

$r-path_info question

2000-06-27 Thread Drew Taylor
Hi all, I am using $r-path_info in an Apache handler. The handler is set via a Location directive: Location /cgi-bin/detail.pl # Overcoming Legacy code :-) SetHandler perl-script PerlHandler eLogix::Images::Detail /Location And is called like "/cgi-bin/detail.pl/A1234567.jpg".

Re: $r-path_info question

2000-06-27 Thread David Kenzik
Drew Taylor said... Hi all, Hi. I currently am using my $filename = (split /\//, $r-path_info)[1]; but it seems like such a hack. What is the "suggested" way to get the "A1234567.jpg" part of the above URL? Since Apache sets path_info by scanning the physical filesystem,

Re: $r-path_info question

2000-06-27 Thread Drew Taylor
David Kenzik wrote: Drew Taylor said... I currently am using my $filename = (split /\//, $r-path_info)[1]; but it seems like such a hack. What is the "suggested" way to get the "A1234567.jpg" part of the above URL? Since Apache sets path_info by scanning the physical

Re: $r-path_info question

2000-06-27 Thread Eric Cholet
Hi all, I am using $r-path_info in an Apache handler. The handler is set via a Location directive: Location /cgi-bin/detail.pl # Overcoming Legacy code :-) SetHandler perl-script PerlHandler eLogix::Images::Detail /Location And is called like "/cgi-bin/detail.pl/A1234567.jpg". My