Got it! I had to add the path to my module, as per:
http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Handler_Modules
Thanks for nuthin!
Just kidding. Thanks again for the pointers and especially thanks to
Michael Peters for all the help.
Joel
On 8/6/06, Joel Gwynn <[EMAIL PROTECTED]> wrote:
So I upgraded to mod_perl 2.0.2 and I've got CAD up and running, but I
can't figure out the configuration. My app's main module is
Funnyr.pm, and it lives here:
/projects/funnyr_dev/scripts/Funnyr.pm
My configuration section for this site looks like so:
DocumentRoot /projects/funnyr_dev/
<Location /scripts>
SetHandler perl-script
PerlHandler CGI::Application::Dispatch
PerlSetVar CGIAPP_DISPATCH_DEFAULT /funnyr
PerlSetVar CGIAPP_DISPATCH_DEBUG 2
</Location>
When I visit http://mysite.com/scripts/funnyr I get this in my apache error log:
[Dispatch] Calling dispatch() with the following arguments: $VAR1 = {
'args_to_new' => {
'PARAMS' => {
'r' => bless( do{\(my $o =
153478128)}, 'Apache2::RequestRec' )
}
},
'default' => '/funnyr'
};
[Dispatch] Trying to match '/funnyr/' against rule ':app' using regex
'/([^/]*)/'
[Dispatch] Matched!
[Dispatch] Named args from match: $VAR1 = {
'app' => 'funnyr'
};
[Dispatch] loading module Funnyr
[Dispatch] ERROR: 'Can't find module Funnyr' for request '/scripts/funnyr'
Any ideas? I like to think that I'm capable of following simple
instructions, but the illusion is getting more and more difficult to
maintain.
TIA
Joel
---------------------------------------------------------------------
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]