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
# CGI::Application community mailing list
####
## To unsubscribe, or change your message delivery options, ##
## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp##
####
## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ##
## Wiki: http://cgiapp.erlbaum.net/ ##
####