restore missing files from rt 4.2.13, #13852
[freeside.git] / rt / t / data / configs / apache2.4+fastcgi.conf.in
1 ServerRoot %%SERVER_ROOT%%
2 PidFile %%PID_FILE%%
3 ServerAdmin root@localhost
4
5 %%LOAD_MODULES%%
6
7 <IfModule !mpm_netware_module>
8 <IfModule !mpm_winnt_module>
9 User @WEB_USER@
10 Group @WEB_GROUP@
11 </IfModule>
12 </IfModule>
13
14 ServerName localhost
15 Listen %%LISTEN%%
16
17 ErrorLog "%%LOG_FILE%%"
18 LogLevel debug
19
20 <Directory />
21     Options FollowSymLinks
22     AllowOverride None
23     Require all denied
24 </Directory>
25
26 AddDefaultCharset UTF-8
27
28 FastCgiServer %%RT_SBIN_PATH%%/rt-server.fcgi \
29     -socket %%TMP_DIR%%/socket \
30     -processes 1 \
31     -idle-timeout 180 \
32     -initial-env RT_SITE_CONFIG=%%RT_SITE_CONFIG%% \
33     -initial-env RT_TESTING=1
34
35 ScriptAlias / %%RT_SBIN_PATH%%/rt-server.fcgi/
36
37 DocumentRoot "%%DOCUMENT_ROOT%%"
38 <Location />
39
40     <RequireAll>
41         Require all granted
42 %%BASIC_AUTH%%
43     </RequireAll>
44
45     Options +ExecCGI
46     AddHandler fastcgi-script fcgi
47 </Location>
48