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, and since
you are overcoming legacy calls to a script inside cgi-bin, your solution is
probably just fine.

I had a similar issue in the past:

        http://forum.swarthmore.edu/epigone/modperl/smumbabax

As Doug mentions in that thread, $r->location might be of some assistance.

Hope this helps.

-- 
David S. Kenzik
[EMAIL PROTECTED] - http://kenzik.com

Reply via email to