Hi,
here is my working one:
Global Section:
LoadModule fcgid_module modules/mod_fcgid.so
Virtual Host Part:
Neue FCGID Config fuer rtdev
<VirtualHost *>
ServerAdmin admin@company.com
ServerName rtdev.company.com
DocumentRoot /opt/rt3/share/html/
AddDefaultCharset UTF-8
AddHandler fcgid-script .fcgi
# FCGID Configuration. See more details:
http://fastcgi.coremail.cn/doc.htm
IdleTimeout 7200
# An idle fastcgi application will be terminated after IdleTimeout
seconds.
IdleScanInterval 480
# The scan interval for idle fastcgi applications.
BusyTimeout 3000
# a fastcgi application will be terminated if handing a single
request longer than busy timeout.
BusyScanInterval 480
# The scan interval for busy timeout fastcgi applications.
ErrorScanInterval 3
# The scan interval for exit pending fastcgi applications. fastcgi
applications will be terminated within
# this scanning.
ZombieScanInterval 3
# The scan interval for zombie process.
ProcessLifeTime 86400
# A fastcgi application will be terminated if lifetime expired, even
no error is detected.
SocketPath /tmp/fcgid/sock.rt3
# WICHTIG, das komplette Verzeichnis bis hin zum Socket muss
schreibbar sein für apache!
# The directory to put the UNIX domain socket. (UNIX only)
SpawnScoreUpLimit 10
# The spawn-speed control score up water limit. Score increases
while a process is spawned or terminated, and
# decreases as time progresses; while the score is higher than
SpawnScoreUpLimit, the spawning will be held
SpawnScore 1
# The weight of spawning. This weight will be plused to the
spawn-control score on every spawn. The higher
# this number is, the lower speed of spawning can be.
TerminationScore 2
# The weight of termination. This weight will be plused to the score
while fastcgi process terminates. The
# higher this number is, the lower speed of spawning can be.
MaxProcessCount 40
# The max count of total fastcgi process count.
DefaultMaxClassProcessCount 32
# The maximum number of fastcgi application instances allowed to run
for any one fastcgi application.
DefaultMinClassProcessCount 3
# The minimum number of fastcgi application instances for any one
fastcgi application.
# DefaultInitEnv env_name env_value
# The default environment variables before a fastcgi application is
spawned. You can set this configuration
# more than once.
IPCConnectTimeout 100
# The connect timeout to a fastcgi application.
IPCCommTimeout 1200
# The communication timeout to a fastcgi application. Please
increase this value if your CGI have a slow
# initialization or slow respond.
# OutputBufferSize n (64k bytes)
# CGI output cache buffer size.
# MaxRequestsPerProcess n (-1)
# Adds a MaxRequestsPerProcess parameter that allows mod_fcgid to
exit after handling a certain number of
# requests, similar to the existing ProcessLifeTime option.
# END FCGID CONFIG
<Directory "/opt/rt3/share/html">
Options FollowSymLinks ExecCGI
AllowOverride None
</Directory>
ExpiresActive On
ExpiresByType text/css A3600
ExpiresByType image/png A3600
ExpiresByType application/x-javascript A3600
ExpiresByType image/gif A3600
Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images
Alias /pics/ /opt/rt3/share/html/NoAuth/images/pics/
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
Hope this helps a lilttle.
Torsten2007/7/18, mailing list sunlist@yahoo.com:
Now that I installed fcgid, and have configure Apache2 httpd.conf with the
following:
LoadModule fcgid_module modules/mod_fcgid.so
<Location /fcgid>
SetHandler fcgid-script
Options ExecCGI
allow from all
I have comment-out the LoadModule for FastCGI in httpd.conf.
What else do I need to reference RT to use fcgid instead of FastCGI?
I’m seeing the below line in httpd.conf, do I need to change FastCgiServer
to
fcgid?
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes
10
Regards,
Mike
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
http://farechase.yahoo.com/
The rt-users Archives
Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
MFG
Torsten Brumm
http://www.torsten-brumm.de