[Rt-devel] error after fresh installation of 3.9-trunk

sunnavy sunnavy at bestpractical.com
Fri Dec 10 02:40:42 EST 2010


seems that PerlSwitches doesn't take affect in <VirtualHost>
though mod_perl doc says it can, I think there's a bug.

could you put PerlSwitches out of VirtualHost and try again?
(e.g. put it to the head of httpd.conf instead)


best wishes
sunnavy

On 10-12-09 22:24, Christian Loos wrote:
> Attached my apache config.
> 
> Am 09.12.2010 20:14, schrieb Jesse Vincent:
> > What's your apache config look like?

> <VirtualHost *:8765>
>         ServerName localhost
> 
>         <Directory />
>             Options FollowSymLinks
>             AllowOverride None
>             Order deny,allow
>             Deny from all
>         </Directory>
> 
>         AddDefaultCharset UTF-8
>         PerlSetEnv RT_SITE_CONFIG /opt/rt4/etc/RT_SiteConfig.pm
>         PerlSwitches -I/opt/rt4/local/lib -I/opt/rt4/lib
> 
>         RedirectMatch permanent (.*)/$ $1/index.html
> 
>         DocumentRoot /opt/rt4/share/html
>         <Directory /opt/rt4/share/html>
>             Order allow,deny
>             Allow from all
> 
>             SetHandler perl-script
>             PerlResponseHandler Plack::Handler::Apache2
>             PerlSetVar psgi_app /opt/rt4/sbin/rt-server
>         </Directory>
> </VirtualHost>



More information about the rt-devel mailing list