]> git.pld-linux.org Git - packages/rt.git/blobdiff - rt-apache.conf
- up to 4.2.11
[packages/rt.git] / rt-apache.conf
index daeb4c0c2036d34f94f2d3e5d59e9fec9e738738..70b81bc46c6796d11e1eac54d09e262b0f943b46 100644 (file)
@@ -1,30 +1,26 @@
-<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>
 
-DocumentRoot /usr/share/rt3/html
+# XXX: you don't overwrite global documentroot. if you want virtualhost sample add VirtualHost...
+#DocumentRoot /usr/share/rt/html/
 
-    Alias /NoAuth/images/ /usr/share/rt3/html/NoAuth/images/
     Alias /error/ "/home/services/httpd/error/"
-    #AddHandler fastcgi-script fcgi
-    #ScriptAlias / /usr/bin/mason_handler.fcgi/
     AddDefaultCharset UTF-8
 
     PerlModule Apache2::compat
 
     PerlModule Apache::DBI
-    PerlRequire /usr/bin/webmux.pl
 
     <Location /error>
     </Location>
 
     <Location />
-#        AuthUserFile /usr/share/rt3/html
+#        AuthUserFile /usr/share/rt/html
 #        AuthGroupFile /dev/null
 #        AuthName Strefa-admin
 #        AuthType Basic
@@ -36,6 +32,11 @@ DocumentRoot /usr/share/rt3/html
 #       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.128921 seconds and 4 git commands to generate.