Greetings,
I realize that this might be a newbie/already answered question, but I've looked all over and can't seem to find anything that will help. So here goes:
I am trying to install an apache 1.3.29 server with mod_perl 1.29. I've configured and tested both, and all seem to be working as expected.
1) /usr/local/src/new-install/mod_perl-1.29/make test passes all tests but one. ie) 1/39
2)
[EMAIL PROTECTED] logs]# apachectl restart
/www/bin/apachectl restart: httpd restarted
[EMAIL PROTECTED] logs]# tail -f error_log
[Tue Mar 16 18:03:05 2004] [notice] / (Unix) mod_perl/1.29 mod_ssl/2.8.16 OpenSSL/0.9.7c PHP/4.3.4 configured -- resuming normal operations
[Tue Mar 16 18:03:05 2004] [notice] Accept mutex: sysvsem (Default: sysvsem
This tells me that mod_perl has been installed properly.
3) my http is as normal:
Alias /perl/ /www/mod_perl/ <Location /perl/> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI #PerlSendHeader On #allow from all </Location>
4) My mod_perl directory has permissions that should allow a browser to read/execute from it:
drwxr-xr-x 3 root root 4096 Mar 11 13:10 mod_perl/
5) my script works in the mod_perl directory !/usr/bin/perl print("content-type: text/html\n\n"); print("<H1><Center>Hello World</CENTER><h1>\n");
6) with appropriate permissions: rwx------ 1 nobody nogroup 103 Mar 16 18:07 test.pl*
Now, with this configuration, I would expect a browser attempting to access localhost/perl/test.pl to get a page with Hello World string centered in h1 font.
Instead: You don't have permission to access /perl/test.pl on this server.
access_log says:
127.0.0.1 - - [16/Mar/2004:18:10:47 -0500] "GET /perl/test.pl HTTP/1.0" 403 303
error_log says: [Tue Mar 16 18:10:47 2004] [error] [client 127.0.0.1] client denied by server configuration: /www/mod_perl/test.pl
what am I doing wrong? Any ideas are appreciated. Please CC my email addy too: mailto://[EMAIL PROTECTED]
<!-- Death Becomes Me
_________________________________________________________________
Add photos to your messages with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html