]> git.pld-linux.org Git - packages/rt.git/blobdiff - rt-apache.conf
- perl-Starlet is back but >= 0.20; R/BR perl-Date-Manip
[packages/rt.git] / rt-apache.conf
index 6a1466db3bc85ec570dc6b3ddad5ae2f00a92e61..308189da87e9e31ba2b693ac523d928bb5f980bc 100644 (file)
@@ -1,16 +1,15 @@
-<Directory "/usr/share/rt3/html">
+<Directory "/usr/share/rt/html">
        AllowOverride all
-       #ExecCGI on                                                                                                                                                  
+       #ExecCGI on
        <IfModule mod_authz_host.c>
-               Order allow,deny
-               Allow from all
+               Require all granted
        </IfModule>
 </Directory>
 
 # XXX: you don't overwrite global documentroot. if you want virtualhost sample add VirtualHost...
-#DocumentRoot /usr/share/rt3/html/
+#DocumentRoot /usr/share/rt/html/
 
-    Alias /NoAuth/images/ /usr/share/rt3/html/NoAuth/images/
+    Alias /NoAuth/images/ /usr/share/rt/html/NoAuth/images/
     Alias /error/ "/home/services/httpd/error/"
     AddDefaultCharset UTF-8
 
@@ -22,7 +21,7 @@
     </Location>
 
     <Location />
-#        AuthUserFile /usr/share/rt3/html
+#        AuthUserFile /usr/share/rt/html
 #        AuthGroupFile /dev/null
 #        AuthName Strefa-admin
 #        AuthType Basic
 #       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>
This page took 0.07306 seconds and 4 git commands to generate.