summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/rt/files/3.4.2/rt_apache1_fcgi.conf')
-rw-r--r--www-apps/rt/files/3.4.2/rt_apache1_fcgi.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/www-apps/rt/files/3.4.2/rt_apache1_fcgi.conf b/www-apps/rt/files/3.4.2/rt_apache1_fcgi.conf
new file mode 100644
index 000000000000..0bff8a0556f9
--- /dev/null
+++ b/www-apps/rt/files/3.4.2/rt_apache1_fcgi.conf
@@ -0,0 +1,41 @@
+<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/suexec
+
+ # 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
+ User rt
+ Group 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>