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