]> git.pld-linux.org Git - packages/rt.git/blobdiff - rt-apache_vhost.conf
- remove BR/R of non exsitant package, provided by perl-base
[packages/rt.git] / rt-apache_vhost.conf
index 65c2af93cbecc21f63521b30b505b0410065b4e1..0e1e53802bfb84469db831446a4fcc03f0025960 100644 (file)
@@ -3,7 +3,7 @@
 
 <VirtualHost your.ip.address>
     ServerName your.rt.server.hostname
-    DocumentRoot /usr/share/rt3/html
+    DocumentRoot /usr/share/rt/html
 
     AddDefaultCharset UTF-8
 
     PerlModule Apache::DBI
 
     <Location />
-        SetHandler perl-script
-        PerlHandler RT::Mason
-    </Location>
+        SetHandler modperl
+        PerlResponseHandler Plack::Handler::Apache2
+        PerlSetVar psgi_app /usr/sbin/rt-server
+     </Location>
+        <Perl>
+                use Plack::Handler::Apache2;
+                Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
+        </Perl>
 </VirtualHost>
 
 # vim: filetype=apache ts=4 sw=4 et
This page took 0.065951 seconds and 4 git commands to generate.