[cgiapp] CGI::Application:Dispatch problem
Michael Peters
mpeters at plusthree.com
Wed Mar 14 11:03:51 EDT 2012
On 03/14/2012 10:56 AM, Jiří Pavlovský wrote:
> If I add dispatch_path to my dispatch module
No need to do that just yet. We're trying to figure out what
CGI::Application::Dispatch thinks the path_info is, not change it.
> and print $ENV{PATH_INFO}
> from there it has the first element "cut off".
> Is that what you meant?
Without doing anything with dispatch_path() (which overrides what
CGI::Application::Dispatch does by default) what does $ENV{PATH_INFO}
say? If it's not what you think, then somehow Apache isn't setting it to
what you think it should be.
This could be because of a lot of different things (like which
directories are on the filesystem, how apache is configured, etc).
--
Michael Peters
Plus Three, LP
More information about the cgiapp
mailing list