]> git.pld-linux.org Git - packages/rt.git/blob - rt-apache.conf
- remove BR/R of non exsitant package, provided by perl-base
[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                 Require all granted
6         </IfModule>
7 </Directory>
8
9 # XXX: you don't overwrite global documentroot. if you want virtualhost sample add VirtualHost...
10 #DocumentRoot /usr/share/rt/html/
11
12     Alias /NoAuth/images/ /usr/share/rt/html/NoAuth/images/
13     Alias /error/ "/home/services/httpd/error/"
14     AddDefaultCharset UTF-8
15
16     PerlModule Apache2::compat
17
18     PerlModule Apache::DBI
19
20     <Location /error>
21     </Location>
22
23     <Location />
24 #        AuthUserFile /usr/share/rt/html
25 #        AuthGroupFile /dev/null
26 #        AuthName Strefa-admin
27 #        AuthType Basic
28         AddDefaultCharset UTF-8
29         Options ExecCGI
30
31         # SetHandler default
32
33 #       RewriteEngine On
34 #       RedirectMatch permanent (.*)/$ $1/index.html
35
36         SetHandler modperl
37         PerlResponseHandler Plack::Handler::Apache2
38         PerlSetVar psgi_app /usr/sbin/rt-server
39      </Location>
40         <Perl>
41                 use Plack::Handler::Apache2;
42                 Plack::Handler::Apache2->preload("/usr/sbin/rt-server");
43         </Perl>
This page took 0.193568 seconds and 3 git commands to generate.