]> git.pld-linux.org Git - packages/rt.git/blob - rt-apache.conf
perl(HTML::Mason::Request::PSGI) is provided indirectly by HTML-Mason-PSGIHandler
[packages/rt.git] / rt-apache.conf
1 <Directory "/usr/share/rt/html">
2         AllowOverride all
3         #ExecCGI on                                                                                                                                                  
4         <IfModule mod_authz_host.c>
5                 Order allow,deny
6                 Allow from all
7         </IfModule>
8 </Directory>
9
10 # XXX: you don't overwrite global documentroot. if you want virtualhost sample add VirtualHost...
11 #DocumentRoot /usr/share/rt/html/
12
13     Alias /NoAuth/images/ /usr/share/rt/html/NoAuth/images/
14     Alias /error/ "/home/services/httpd/error/"
15     AddDefaultCharset UTF-8
16
17     PerlModule Apache2::compat
18
19     PerlModule Apache::DBI
20
21     <Location /error>
22     </Location>
23
24     <Location />
25 #        AuthUserFile /usr/share/rt/html
26 #        AuthGroupFile /dev/null
27 #        AuthName Strefa-admin
28 #        AuthType Basic
29         AddDefaultCharset UTF-8
30         Options ExecCGI
31
32         # SetHandler default
33
34 #       RewriteEngine On
35 #       RedirectMatch permanent (.*)/$ $1/index.html
36
37         SetHandler modperl
38         PerlResponseHandler Plack::Handler::Apache2
39         PerlSetVar psgi_app /usr/sbin/rt-server
40      </Location>
41         <Perl>
42                 use Plack::Handler::Apache2;
43                 Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
44         </Perl>
This page took 0.083454 seconds and 3 git commands to generate.