summaryrefslogtreecommitdiff
path: root/rt/t/data/configs/apache2.2+fastcgi.conf.in
blob: 75cbadbcae2c46dd73bde70a5babb2b42d5edc7d (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
ServerRoot %%SERVER_ROOT%%
PidFile %%PID_FILE%%
LockFile %%LOCK_FILE%%
ServerAdmin root@localhost

%%LOAD_MODULES%%

FastCgiIpcDir %%TMP_DIR%%

<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

FastCgiServer %%RT_BIN_PATH%%/mason_handler.fcgi -processes 1 -idle-timeout 180 -initial-env RT_SITE_CONFIG=%%RT_SITE_CONFIG%%

Alias /NoAuth/images/ %%DOCUMENT_ROOT%%/NoAuth/images/
ScriptAlias / %%RT_BIN_PATH%%/mason_handler.fcgi/

DocumentRoot "%%DOCUMENT_ROOT%%"
<Location />
    Order allow,deny
    Allow from all

    Options +ExecCGI
    AddHandler fastcgi-script fcgi
</Location>