apache: Fix fcgid on CentOS, dependency fix for wsgi
Create separate mod_fcgid socket dirs for http and httpsd. Also tune the process limits.
This commit is contained in:
parent
1fbaaacc65
commit
fc12e7e03e
4 changed files with 52 additions and 6 deletions
11
apache/files/fcgid_http.conf
Normal file
11
apache/files/fcgid_http.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
LoadModule fcgid_module modules/mod_fcgid.so
|
||||
AddHandler fcgid-script fcg fcgi fpl
|
||||
|
||||
FcgidIPCDir /var/run/mod_fcgid
|
||||
FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm
|
||||
|
||||
FcgidMinProcessesPerClass 0
|
||||
FcgidMaxProcessesPerClass 5
|
||||
FcgidMaxRequestLen 16777216
|
||||
|
||||
FcgidPassHeader Authorization
|
11
apache/files/fcgid_https.conf
Normal file
11
apache/files/fcgid_https.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
LoadModule fcgid_module modules/mod_fcgid.so
|
||||
AddHandler fcgid-script fcg fcgi fpl
|
||||
|
||||
FcgidIPCDir /var/run/mod_fcgid_httpsd
|
||||
FcgidProcessTableFile /var/run/mod_fcgid_httpsd/fcgid_shm
|
||||
|
||||
FcgidMinProcessesPerClass 0
|
||||
FcgidMaxProcessesPerClass 5
|
||||
FcgidMaxRequestLen 16777216
|
||||
|
||||
FcgidPassHeader Authorization
|
Loading…
Add table
Add a link
Reference in a new issue