[rt-users] Problem starting Apache after installing RT

Brett Barnhart BrettB at hkusa.com
Wed Jun 9 14:58:52 EDT 2004


Apache - 2.0.49
Perl - 5.8.4
MySQL - 4.0.20
RT- 3.0.11

This is a clean system running Fedora set up as a server

I've had to do a lot more then the instructions on installing on Fedora, but
I now have it really close.

After I add the new text to /usr/local/apache2/conf/httpd.conf

namely:
<VirtualHost xxx.xxx.xxx.xxx>
    ServerName hkrt.hkusa.com
    DocumentRoot /usr/local/rt3/share/html
    AddDefaultCharset UTF-8

    PerlSetVar MasonArgsMethod CGI
    PerlModule Apache2 Apache::compat
    RewriteEngine On
    RewriteRule ^(.*)/$ $1/index.html [PT]

   
    PerlModule Apache::DBI
    PerlRequire /usr/local/rt3/bin/webmux.pl

    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>

I get this error when I try to start my server
( /usr/local/apache2/bin/apachectl start)

"Syntax error on line 1057 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'PerlSetVar', perhaps mis-spelled or defined by a module not
included in the server configuration"

Any ideas?
Thanks



More information about the rt-users mailing list