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

sunnavy sunnavy at bestpractical.com
Fri Dec 10 05:06:43 EST 2010


btw, you can omit PerlSwitches if with latest 3.9-trunk(after f35699355a).
if so, you need to add the following lines to apache's config:

<Perl>
  use Plack::Handler::Apache2;
  Plack::Handler::Apache2->preload("/opt/rt3/sbin/rt-server");
</Perl>


best wishes
sunnavy

On 10-12-10 15:40, sunnavy wrote:
> 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>
> 
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


More information about the rt-devel mailing list