testing mod_perl
I tried the example module found on perl.apache.org in the "Getting Your Feet Wet",
the Rocks.pm. I saved the script to /srv/www/perl-lib/myApache/. I am running Apache2 and mod_perl 2. my mod_perl_startup.pl has the line "use lib qw(/srv/www/perl-lib/);". My mod_perl.conf file contains the following: <Location /rocks> SetHandler perl-script PerlResponseHandler myApache::Rocks </Location> So what happens if I restart Apache and change my browser location to "http://localhost/rocks? I get a 500 error and see the following in the log: Failed to resolve handler myApache::Rocks. I haven't been able to figure this one out! :( |
All times are GMT -5. The time now is 01:03 PM. |