diff options
Diffstat (limited to 'www-apps/rt/files/rt_apache2_fcgi.conf')
-rw-r--r-- | www-apps/rt/files/rt_apache2_fcgi.conf | 73 |
1 files changed, 36 insertions, 37 deletions
diff --git a/www-apps/rt/files/rt_apache2_fcgi.conf b/www-apps/rt/files/rt_apache2_fcgi.conf index aa6ccdc9a04e..2a93f8cea2b7 100644 --- a/www-apps/rt/files/rt_apache2_fcgi.conf +++ b/www-apps/rt/files/rt_apache2_fcgi.conf @@ -1,39 +1,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> +# 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 |