]> git.pld-linux.org Git - packages/rt.git/commitdiff
- updated configs for RT 4.0
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Wed, 26 Oct 2011 13:08:22 +0000 (13:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rt-apache.conf -> 1.9
    rt-apache_dir.conf -> 1.4
    rt-apache_vhost.conf -> 1.4

rt-apache.conf
rt-apache_dir.conf
rt-apache_vhost.conf

index 043a70db49cd28a32390c074a6ba2db4cf22a724..63ecdf81d1fe84ccc7f40d43b26cefe42ba73200 100644 (file)
 #       RewriteEngine On
 #       RedirectMatch permanent (.*)/$ $1/index.html
 
-        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>
index e5e979fa14898375b2b5d784fe85dd926b9d8f5e..89061870a531cf69485f48c07cc970681e0c0d14 100644 (file)
@@ -18,8 +18,14 @@ Alias /rt "/usr/share/rt/html"
 
     PerlSetVar MasonArgsMethod CGI
 
-    SetHandler perl-script
-    PerlHandler RT::Mason
+        SetHandler modperl
+        PerlResponseHandler Plack::Handler::Apache2
+        PerlSetVar psgi_app /usr/sbin/rt-server
+        <Perl>
+                use Plack::Handler::Apache2;
+                Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
+        </Perl>
+
 </Directory>
 
 # vim: filetype=apache ts=4 sw=4 et
index aedf9c386b5132a6489377990d6cba283f8aef51..0e1e53802bfb84469db831446a4fcc03f0025960 100644 (file)
     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.117097 seconds and 4 git commands to generate.