Foswiki with fcgid (compared to mod_perl)
Modifications to the Foswiki Apache .conf file:
mod_perl |
fcgid |
| |
<IfModule mod_fcgid.c>
DefaultMaxClassProcessCount 3
# Limit requests to control memory growth.
FcgidMaxRequestsPerProcess 400
MaxRequestLen 16777216
</IfModule> |
ScriptAlias /wiki/bin "${foswikiroot}/bin" |
Alias /wiki/bin "${foswikiroot}/bin/foswiki.fcgi" |
# short urls
Alias /wiki "${foswikiroot}/bin/view" |
# short urls
Alias /wiki "${foswikiroot}/bin/foswiki.fcgi" |
Options +ExecCGI -FollowSymLinks
SetHandler cgi-script |
Options +ExecCGI -FollowSymLinks
SetHandler cgi-script
<Files "foswiki.fcgi">
SetHandler fcgid-script
</Files>
|
MaxRequestLen: not used on strato, only on aws, because suddenly, I could no longer upload 'big' files (> 128kB...) - 16777216 is 16MB (see:
FwIssues | Explio | Foswiki)
tags
cgi fcgi fcgid fastcgi