Add perl 5.16 leak mitigation doc for Apache (#1314)
This commit is contained in:
parent
c9eb48b59e
commit
683df5425a
|
@ -34,6 +34,9 @@
|
|||
RewriteCond "%{REQUEST_URI}" "!^/(?:(?:static|javascript|favicon).*|.*\.fcgi(?:/.*)?)$"
|
||||
RewriteRule "^/(.+)$" "/index.fcgi/$1" [PT]
|
||||
|
||||
# Uncomment this to mitigate memory leaks when using Perl 5.16
|
||||
# FcgidMaxRequestsPerProcess 500
|
||||
|
||||
# Note that Content-Security-Policy header is generated by portal itself
|
||||
<Files *.fcgi>
|
||||
SetHandler fcgid-script
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
RewriteCond "%{REQUEST_URI}" "!^/(?:(?:static|javascript|favicon).*|.*\.fcgi(?:/.*)?)$"
|
||||
RewriteRule "^/(.+)$" "/index.fcgi/$1" [PT]
|
||||
|
||||
# Uncomment this to mitigate memory leaks when using Perl 5.16
|
||||
# FcgidMaxRequestsPerProcess 500
|
||||
|
||||
# Note that Content-Security-Policy header is generated by portal itself
|
||||
<Files *.fcgi>
|
||||
SetHandler fcgid-script
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
RewriteCond "%{REQUEST_URI}" "!^/(?:(?:static|javascript|favicon).*|.*\.fcgi(?:/.*)?)$"
|
||||
RewriteRule "^/(.+)$" "/index.fcgi/$1" [PT]
|
||||
|
||||
# Uncomment this to mitigate memory leaks when using Perl 5.16
|
||||
# FcgidMaxRequestsPerProcess 500
|
||||
|
||||
# Note that Content-Security-Policy header is generated by portal itself
|
||||
<Files *.fcgi>
|
||||
SetHandler fcgid-script
|
||||
|
|
Loading…
Reference in New Issue