[cgiapp] cgi::application::dispatch under PSGI

Kurt Lidl kurt.lidl at cello.com
Tue Feb 28 14:16:31 EST 2012


On 2/28/2012 11:45 AM, Kurt Lidl wrote:
> Greetings.
>
> I've got a large application that is running under mod_perl, running on
> Apache 2.2.22.
> Everything is working OK there.  It uses CGI::Application::Dispatch as
> its invocation
> method.

Debugging this further, I see that the PATH_INFO environmental variable 
has been reset
to "/' by the time CGI::Application::Dispatch::PSGI.pm has started to 
run.  That explains why
I'm not getting parameters passed into the scripts.

Curiously, the "SCRIPT_NAME" and "SCRIPT_URL" variables are still set 
properly.

I guess I just have to figure out where the PATH_INFO is getting mangled...

-Kurt



More information about the cgiapp mailing list