[rt-users] Problem starting Apache after installing RT

Brett Barnhart BrettB at hkusa.com
Wed Jun 9 16:02:05 EDT 2004


 OK... I am getting much closer now, so I decided not to start over.

Now I am getting the error message 

"Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module
not included in the server configuration"

-----Original Message-----
From: Ruslan U. Zakirov
To: Brett Barnhart
Cc: 'rt-users at lists.bestpractical.com'
Sent: 6/9/2004 2:04 PM
Subject: Re: [rt-users] Problem starting Apache after installing RT

You don't have mod_perl properly installed or you don't have LoadModule 
directive in Apache conf.

Brett Barnhart wrote:
> 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
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> RT Developer and Administrator training is coming to LA, DC and
Frankfurt this spring and summer.
> http://bestpractical.com/services/training.html
> 
> Sign up early, as class space is limited. 



More information about the rt-users mailing list