You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Roger Espel Llima <es...@iagora.net> on 2000/10/13 11:18:09 UTC

Re: modperl Digest 12 Oct 2000 09:31:25 -0000 Issue 209

Bill Moseley <mo...@hank.org> wrote:
[ ... ]
>     PerlTransHandler My::DirectoryIndex
[ ... ]
> GET /test/abc/123 http/1.0
[ ... ]
> --------------------
> [Wed Oct 11 10:17:16 2000] [error] initial:/test/abc/123
> [Wed Oct 11 10:17:16 2000] [error] not initial:/abc/123
> [Wed Oct 11 10:17:16 2000] [error] [client 192.168.0.98] client denied by
> server configuration: /usr/local/apache/htdocs/abc

It's Apache running a subrequest (only as far as the TransHandler I
think, it definitely does not run the ContentHandler) using the
path_info as an URL, to get the "path_translated" variable.

PATH_TRANSLATED is a rather useless leftover from the CGI protocol; if
you don't use it, you can tell mod_perl to skip it and the rest of the
environment setup, with "PerlSetupEnv Off".

If you don't have the very latest mod_perl, you'll probably need a
"PerlSetupEnv Off" inside of each <Directory> block.

-- 
Roger Espel Llima, espel@iagora.net
http://www.iagora.com/~espel/index.html