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