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);
* 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
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".
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,
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
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