summaryrefslogtreecommitdiff
blob: 2a93f8cea2b7c34bedab40c71d02a99957a16b10 (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
<IfDefine FASTCGI>
# Tell FastCGI to put its temporary files somewhere sane.
FastCgiIpcDir /tmp

# Tell FastCGI that it should use apache's "suexec" binary to call any FastCGI script.
# This is a GLOBAL setting
FastCgiWrapper /usr/sbin/suexec2

# Apache 1.3 discards the user and group parameters on the FastCgiServer line.
# Apache 2.0 requires them.
FastCgiServer RT_DIR/bin/mason_handler.fcgi -idle-timeout 120 -user rt -group rt -processes 4

<VirtualHost MY_RT_DOMAIN:80>
	ServerName MY_RT_DOMAIN
	DocumentRoot HTDOCS
	ServerAdmin YOUR_EMAIL_HERE

	AddDefaultCharset UTF-8

	<IfDefine USERDIR>
		UserDir disabled
	</IfDefine>

	# Set the rt user and group as the executing user for this virtual host
	SuexecUserGroup rt rt
	AddHandler fastcgi-script fcgi
	ScriptAlias / RT_DIR/bin/mason_handler.fcgi/

	<Directory "HTDOCS">
		Options Indexes FollowSymLinks
		AllowOverride None
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>
</IfDefine>

# vim: ts=4 filetype=apache