Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_fcgid
> apache2-mod_fcgid.conf
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File apache2-mod_fcgid.conf of Package apache2-mod_fcgid (Revision 2)
Currently displaying revision
2
,
show latest
################################################################################ ## ## Sample config for apache2_mod-fcgid ## ## Most lines, that are commented out, reflect the default values. ## ## See http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html for the real documentation ## <IfModule fcgid_module> ## ## An idle fastcgi application will be terminated after IdleTimeout seconds. ## #FcgidIdleTimeout 300 ## ## The scan interval for idle fastcgi applications in seconds. ## #FcgidIdleScanInterval 120 ## ## a fastcgi application will be terminated if handing a single request longer ## than busy timeout. Value in seconds. ## #FcgidBusyTimeout 300 ## ## The scan interval for busy timeout fastcgi applications. Value in seconds. ## #FcgidBusyScanInterval 120 ## ## The scan interval for exit pending fastcgi applications. fastcgi applications ## will be terminated within this scanning. Value in seconds. ## #FcgidErrorScanInterval 3 ## ## The scan interval for zombie process. Value in seconds. ## #FcgidZombieScanInterval 3 ## ## ## A fastcgi application will be terminated if lifetime expired, even no error ## is detected. Value in seconds. ## #FcgidProcessLifeTime 3600 ## ## The directory to put the UNIX domain socket. (UNIX only) ## FcgidIPCDir /var/lib/apache2/fcgid/ ## ## The share memory file path. ## FcgidProcessTableFile /var/lib/apache2/fcgid/shm ## ## 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 for a while. The ## higher this number is, the higher speed of the spawning can be. ## #FcgidSpawnScoreUpLimit 10 ## ## 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. ## #FcgidSpawnScore 1 ## ## 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. ## #FcgidTerminationScore 2 ## ## The max count of total fastcgi process count. ## #FcgidMaxProcesses 1000 ## ## The maximum number of fastcgi application instances allowed to run for any ## one fastcgi application. ## #FcgidMaxProcessesPerClass 100 ## ## The default environment variables before a fastcgi application is spawned. ## You can use this configuration more than once. ## #FcgidInitialEnv env_name [ env_value ] ## ## The communication timeout to a fastcgi application. Please increase this ## value if your CGI have a slow initialization or slow respond. Value in ## seconds. ## #FcgidIOTimeout 40 ## ## CGI output cache buffer size. Value in bytes. ## #FcgidOutputBufferSize 65536 ## ## Associate .fcgi files with mod_fcgid ## #AddHandler fcgid-script .fcgi ## ## PHP via FastCGI ## ## uncomment the following line if you want to handle php via mod_fcgid ## see http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#examples ## #<FilesMatch "\.php$"> # AddHandler fcgid-script .php # Options +ExecCGI # FcgidWrapper /srv/www/cgi-bin/php5 .php #</FilesMatch> ## </IfModule> # End of <IfModule fcgid_module> ## ################################################################################