perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <torsten.foert...@gmx.net>
Subject Re: REST
Date Tue, 27 Nov 2007 19:02:32 GMT
On Tue 27 Nov 2007, David Nicol wrote:
> $ENV{PATH_INFO} is available in mod_perl is it not?

Do not rely in path_info. It is computed in map_to_storage as the remaining 
part of the uri after the path on disk runs out. So if /parts exists on disk 
path_info is /number. Otherwise it is /parts/number.

Better use a Location block (not LocationMatch) and $r->lcoation.

Torsten

Mime
View raw message