[cgiapp] CGI::Application:Dispatch problem

Jiří Pavlovský jira at getnet.cz
Wed Mar 14 07:43:02 EDT 2012


Hello,

I have a problem making the dispatch work. I have the following in 
Apache configuration:

<Location "/private/test/my-app">
SetHandler perl-script
PerlHandler MyApp::Dispatch
</Location>

Then I have a path like this
'column/:foo/:bar'    =>


But when I go to '/private/test/my-app/column/this/that' it won't match 
- in log I see that it is trying to match only '/this/that' instead of 
'/column/this/that'

This used to work when I dispatched via instance script.

So there must be something I'm not getting about the interaction between 
dispatch/apache/mod-perl

-- 
Jiří Pavlovský



More information about the cgiapp mailing list