Matisse Enzer wrote:
Thank you very nice!
Where should I have looked to figure this out myself?
if you're using the mod_perl API, you can get PATH_TRANSLATED by joining $r->filename and $r->path_info.
from lots of places, like the eagle book and cookbook.
according to the docs, calling $r->subprocess_env in a void context will populate standard CGI variables in $r->subprocess_env();
also from the eagle book and cookbook, if you're familiar with the 1.0 API. I wasn't sure if this still worked in 2.0, however, but the docs I mentioned are
http://perl.apache.org/docs/2.0/user/config/config.html#C_SetHandler_
if it's a normal CGI script, if you use the perl-script handler, or the modperl handler with PerlOptions +SetupEnv, you should be able to get at it via %ENV.
see above.
HTH
--Geoff