I'm trying to get Request Tracker 3.2.1 running on 2.0.52 (Gentoo linux)
using fastCGI. The only way I can get it to work is to comment out the
following default apache2 gentoo directives:
#<Directory />
# Options -All -Multiviews
# AllowOverride None
# <IfModule mod_access.c>
# Order deny,allow
# deny from all
# </IfModule>
#</Directory>
Or else the following RT directives as per their directions:
<Directory /var/www/localhost/htdocs/rt>
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
Alias /NoAuth/images/ /var/www/localhost/htdocs/rt/NoAuth/images/
FastCgiIpcDir /tmp
FastCgiServer /usr/bin/mason_handler.fcgi -idle-timeout 120 -processes 4
AddHandler fastcgi-script fcgi ScriptAlias /rt
/usr/bin/mason_handler.fcgi
will give a "client denied by server configuration":
[Mon Mar 14 11:47:01 2005] [notice] FastCGI: process manager initialized
(pid 23438)
[Mon Mar 14 11:47:01 2005] [warn] FastCGI: server
"/usr/bin/mason_handler.fcgi" started (pid 23439)
[Mon Mar 14 11:47:01 2005] [notice] Apache configured -- resuming normal
operations
[Mon Mar 14 11:47:02 2005] [warn] FastCGI: server
"/usr/bin/mason_handler.fcgi" started (pid 23445)
[Mon Mar 14 11:47:03 2005] [warn] FastCGI: server
"/usr/bin/mason_handler.fcgi" started (pid 23446)
[Mon Mar 14 11:47:04 2005] [warn] FastCGI: server
"/usr/bin/mason_handler.fcgi" started (pid 23448)
[Mon Mar 14 11:47:18 2005] [error] [client 192.168.2.50] client denied
by server configuration: /usr/bin/mason_handler.fcgi
My question is, how can I preserve the commented out gentoo-default
directives but still get RT to work?
---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
--
gento...@gentoo.org mailing list
This was a problem because Gentoo's build of Request Tracker places
mason_handler.fcgi in /usr/bin. Shouldn't that go in one of the RT
directories instead?
So I had to allow access to that directory in Apache2. This is what my
running Gentoo FastCGI configuration looks like:
<Directory /var/www/localhost/htdocs/rt>
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
<Directory /usr/bin>
Options FollowSymLinks
Order allow,deny
allow from all
</Directory>
Alias /NoAuth/images/ /var/www/localhost/htdocs/rt/NoAuth/images/
FastCgiIpcDir /tmp
FastCgiServer /usr/bin/mason_handler.fcgi -idle-timeout 120 -processes 4
AddHandler fastcgi-script fcgi ScriptAlias /rt
/usr/bin/mason_handler.fcgi
I didn't need to chown any RT files to apache2 or anything like that.
BTW - Apache 2 / FastCGI seems much faster than Apache 1 / mod_perl!
---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
Hi all,
--
gento...@gentoo.org mailing list
--
gento...@gentoo.org mailing list