hello mod_perl
!--mod_perl-1.26 on apache_1.3.20 on mac osX (10.0.4)--
i am trying to get mod_perl up and running om mac osX.
i am quite sure i have installed correctly, at least according to the
99.23% okay test-report (see below).
asuming everything is installed ok (in fact how do i actually know
wheter mod_perl is properly installed?) i must so something wrong in the configuration.
i have followed Stas Bekmans slide-instructions for configuring and have
in my httpd.conf file included the same kind of perl-directive lines
which i am not 100% sure are correct (see below).
this is the location of my cgi-bin: /library/webserver/cgi-executables
this is the location of my usual web documnets: /library/webserver/documents
so this is where i would think mod_perl material should go: /library/webserver/perl
if i uncomment the perl-directive lines from the httpd.conf, i can run
good old cgi-scripts no problem.
and when i start apache i will get this message in the error-log:
[Sat Aug 4 16:04:56 2001] [notice] Apache/1.3.20 (Darwin) PHP/4.0.4pl1
configured -- resuming normal operations
i hope the above or below information is enough to one of you to solve
this probably trivial problem:-)
thanks
./allan
testreport
Failed Test Status Wstat Total Fail Failed List of failed
---
modules/src.t 63 50.00% 3-5
6 tests skipped.
httpd terminated
Failed 1/34 test scripts, 97.06% okay. 3/390 subtests failed, 99.23% okay.
make: *** [run_tests] Error 9
/testreport
perldirective=on
[localhost:/source/apache_1.3.20/mod_perl-1.26] allanjuu% sudo
/usr/sbin/apachectl start
Password:
Syntax error on line 1029 of /etc/httpd/httpd.conf:
Invalid command 'PerlModule', perhaps mis-spelled or defined by a
module not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
/perldirective
snippet =/etc/httpd/httpd.conf
1027 # for Apache:: Registry mode
1028 Alias /perl/ /library/webserver/perl
1029 PerlModule Apache::Registry
1030 Location /perl
1031 SetHandler perl-script
1032 PerlHandler Apache::Registry
1033 Options ExecCGI
1034 allow from all
1035 PerlSendHeader On
1036 /Location
/snippet