restore missing files from rt 4.2.13, #13852
[freeside.git] / rt / t / data / configs / apache2.4+mod_perl.conf.in
1 <IfModule mpm_prefork_module>
2     StartServers          1
3     MinSpareServers       1
4     MaxSpareServers       1
5     MaxClients            1
6     MaxRequestsPerChild   0
7 </IfModule>
8
9 <IfModule mpm_worker_module>
10     StartServers          1
11     MinSpareThreads       1
12     MaxSpareThreads       1
13     ThreadLimit           1
14     ThreadsPerChild       1
15     MaxClients            1
16     MaxRequestsPerChild   0
17 </IfModule>
18
19 ServerRoot %%SERVER_ROOT%%
20 PidFile %%PID_FILE%%
21 ServerAdmin root@localhost
22
23 %%LOAD_MODULES%%
24
25 <IfModule !mpm_netware_module>
26 <IfModule !mpm_winnt_module>
27 User @WEB_USER@
28 Group @WEB_GROUP@
29 </IfModule>
30 </IfModule>
31
32 ServerName localhost
33 Listen %%LISTEN%%
34
35 ErrorLog "%%LOG_FILE%%"
36 LogLevel debug
37
38 <Directory />
39     Options FollowSymLinks
40     AllowOverride None
41     Require all denied
42 </Directory>
43
44 AddDefaultCharset UTF-8
45 PerlSetEnv RT_SITE_CONFIG %%RT_SITE_CONFIG%%
46
47 DocumentRoot "%%DOCUMENT_ROOT%%"
48 <Location />
49
50     <RequireAll>
51         Require all granted
52 %%BASIC_AUTH%%
53     </RequireAll>
54
55     SetHandler modperl
56
57     PerlResponseHandler Plack::Handler::Apache2
58     PerlSetVar psgi_app %%RT_SBIN_PATH%%/rt-server
59 </Location>
60
61 <Perl>
62     $ENV{RT_TESTING}=1;
63     use Plack::Handler::Apache2;
64     Plack::Handler::Apache2->preload("%%RT_SBIN_PATH%%/rt-server");
65 </Perl>
66