I just installed mod_perl and am trying to follow the fast start instructions here: http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scri pts I added the following to the apache configuration file...in my case lxtuxa19.conf Alias /perl/ "/home/webperl/" <Location /perl/> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI Order allow,deny Allow from all </Location> I created a directory called /home/webperl/ and have placed the rock.pl script in it the permissions are: # ls -l /home | grep webperl drwxrwxrwx 3 root root 4096 Mar 12 11:16 webperl # ls -l /home/webperl | grep rock -rwxr-xr-x 1 pjc002 u-unix 94 Mar 12 11:16 rock.pl
When I attempt http://lxtuxa19/perl/rock.pl I get HTTP 404 - Page not found. I see the following in the error_log: [Wed Mar 12 11:29:31 2008] [notice]Apache/2.0.50 (Unix) mod_jk/1.2.15 CovalentSNMP/2.3.0 mod_perl/2.0.3 Perl/v5.8.3 configured -- resuming normal operations [Wed Mar 12 11:29:31 2008] [notice] SNMP: CovalentSNMP/2.3.0 started (user '0' - SNMP address '1610' - pid '12586')[Wed Mar 12 11:32:34 2008] [error] slurp_filename('rock.pl') / opening: (2) No such file or directory at /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi/ModPerl/RegistryC ooker.pm line 541 >From looking at the RegistryCooker.pm lines I believe that it can't find my rock.pl file. I am new to apache and have read config docs most of the morning; can anyone spot what is wrong or suggest other config declarations that might be conflicting with this one? Thanks in advance for your help. Paula