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!
|