[cgiapp] Re: CGI::Application::Dispatch help
fREW Schmidt
frioux at gmail.com
Mon Jan 19 11:47:23 EST 2009
> If you're still having problems, post the debugging output from Dispatch.
Ok, so I changed the match from '/' to '' and it didn't change
anything. I am pretty sure the issue is with apache as the
ENV{PATH_INFO} does not include the junk directory I typed in. This
is the output I get (I added PATH_INFO) for the url:
http://locahost:8080/frew/controller_station/awesome
Path Info: /controller_station/awesome at C:/Documents and
Settings/frew/My Documents/Code/aircraft_ducting/ACD/Dispatch.pm line
6.
[Dispatch] Trying to match '/controller_station/awesome/' against rule
'' using regex '/'
[Dispatch] Trying to match '/controller_station/awesome/' against rule
':app/:rm?/:id?' using regex '/([^/]*)/?([^/]*)?/?([^/]*)?/'
[Dispatch] Matched!
[Dispatch] Named args from match: $VAR1 = {
'rm' => 'awesome',
'app' => 'controller_station',
'id' => ''
};
[Dispatch] loading module ACD::Controller::Station
[Dispatch] Final args to pass to new(): $VAR1 = {
'PARAMS' => {
'r' => bless( do{\(my $o = 12185816)},
'Apache2::RequestRec' ),
'id' => '',
'cfg_file' => 'C:/Documents and
Settings/frew/My Documents/Code/aircraft_ducting/config.pl'
}
};
[Dispatch] creating instance of ACD::Controller::Station
--
-fREW
More information about the cgiapp
mailing list