On 6/13/07, Simon Rees <[EMAIL PROTECTED]> wrote:
<Location /srees/connectm_tracker>
SetHandler perl-script
PerlHandler CGI::Application::Dispatch
PerlSetVar CGIAPP_DISPATCH_PREFIX Newforms::MembersCGIApp::Dispatch
PerlSetVar CGIAPP_DISPATCH_DEFAULT /public/front
PerlSetVar CGIAPP_DISPATCH_DEBUG 1
</Location>
When I try to request http://test.server/srees/connectm_tracker I get the
following error message:
[Dispatch] ERROR: 'Can't find module
Newforms::MembersCGIApp::Dispatch::Connectm::Tracker' for request
'/srees/connectm_tracker/'
Whereas I would expect it to use the Newforms::MembersCGIApp::Dispatch::Public
module. So it looks like C::A::Dispatch is considering connectm_tracker to be
the module name.
Is Newforms::MembersCGIApp::Dispatch::Public your CA::Dispatch
subclass? If so, your PerlHandler should be pointing to that, not
CA::Dispatch itself.
Mike
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]