View Single Post
 
Old Sep 21, 2002, 08:18 AM
cralim cralim is offline
New Member
 
Member Since: Sep 2002
Posts: 2
I think I fixed it - it seems that PATH_INFO is sometimes not correctly populated - depending on the server, and the apache version. For example, it worked fine on one of my servers, a RedHat 7.2 box, but not on my RaQ3.

The solution is to use the more reliable REQUEST_URI, really simply, something like this:

#$pod_dir=$ENV{'PATH_INFO'};
$pod_dir=$ENV{'REQUEST_URI'};
$pod_dir =~ s/$pod_fullpath(.*)/$1/ ;

It's not perfect, but it works for me, yippee!