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

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

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: > > # Overcoming Legacy code :-) > SetHandler perl-script > PerlHandler eLogix::Images::Detail > > > And is called like "/cgi-bin/detail.pl/A1234567.jpg". My question is > this: Since t

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 scan

Re: $r->path_info question

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

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 filesys

$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: # Overcoming Legacy code :-) SetHandler perl-script PerlHandler eLogix::Images::Detail And is called like "/cgi-bin/detail.pl/A1234567.jpg". My question is this: Since there is