[rt-users] Apache config problem
Bobby Wrenn
bjwrenn at augustmail.com
Mon Dec 23 12:08:22 EST 2002
With the following lines in commonhttpd.conf;
PerlRequire /usr/local/rt2/bin/webmux.pl
<Location /rt2>
SetHandler perl-script
PerlHandler RT::Mason
</Location>
I get the following when trying to start httpd;
[root at hylafax conf]# /etc/rc.d/init.d/httpd start
Starting httpd-perl: [ OK ]
Starting httpd: Syntax error on line 503 of /etc/httpd/conf/commonhttpd.conf:
Invalid command 'PerlRequire', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
If I execute;
[root at hylafax conf]# perl /usr/local/rt2/bin/webmux.pl
I get;
Undefined subroutine &Apache::perl_hook called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 542.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 542.
Compilation failed in require at /usr/local/rt2/bin/webmux.pl line 20.
BEGIN failed--compilation aborted at /usr/local/rt2/bin/webmux.pl line 20.
This is a fresh install on a default Mandrake 9.0 with apache mod_perl loading
as a DSO.
The install seemed to go smoothly with only after testdeps showed
all the necessary module loaded.
Any idea what I am missing?
I am not a Perl programmer (or much of any kind of programmer). I just want
Linux and Open Source in general to have a good rep. So be gentle.
I'm bumping up against a deadline and need to get this working.
TIA
Bobby
More information about the rt-users
mailing list