summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/rt/files/rt_apache2_fcgi.conf')
-rw-r--r--www-apps/rt/files/rt_apache2_fcgi.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/www-apps/rt/files/rt_apache2_fcgi.conf b/www-apps/rt/files/rt_apache2_fcgi.conf
new file mode 100644
index 000000000000..aa6ccdc9a04e
--- /dev/null
+++ b/www-apps/rt/files/rt_apache2_fcgi.conf
@@ -0,0 +1,39 @@
+<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>