Commit f2643719 authored by André Kerkhoff's avatar André Kerkhoff
Browse files

Add apache attribute fcgid_max_request_len

parent d0b97ce8
......@@ -5,13 +5,14 @@ default['foswiki']['apache']['cert_chain_file'] = nil
default['foswiki']['apache']['cert_file'] = nil
default['foswiki']['apache']['cert_key_file'] = nil
default['foswiki']['apache']['custom_log'] = 'combined'
default['foswiki']['apache']['fcgid_max_request_len'] = 10240000
default['foswiki']['apache']['http_port'] = 80
default['foswiki']['apache']['https_port'] = 443
default['foswiki']['apache']['log_level'] = 'info ssl:warn'
default['foswiki']['apache']['protect_attachments'] = true
default['foswiki']['apache']['protect_safe_attachments'] = false
default['foswiki']['apache']['pub_expires_time'] = nil # e.g. "access plus 11 days"
default['foswiki']['apache']['pub_expires_match'] = '\.(jpe?g|gif|png|css(\.gz)?|js(\.gz)?|ico)$'
default['foswiki']['apache']['pub_expires_time'] = nil # e.g. "access plus 11 days"
default['foswiki']['apache']['server_admin'] = "webmaster@#{node['fqdn']}"
default['foswiki']['apache']['server_alias'] = []
default['foswiki']['apache']['server_name'] = node['fqdn']
......
......@@ -3,7 +3,7 @@ maintainer 'HPC'
maintainer_email 'hpc@gsi.de'
license 'All rights reserved'
description 'Installs/Configures Foswiki'
version '2.2.10'
version '2.2.11'
depends 'apache2', '< 6.0'
supports 'debian'
supports 'ubuntu'
......@@ -31,6 +31,7 @@ web_app apache_conf['server_name'] do
cert_key_file apache_conf['cert_key_file']
custom_log apache_conf['custom_log']
data_dir dirs['data']
fcgid_max_request_len apache_conf['fcgid_max_request_len']
http_port apache_conf['http_port']
https_port apache_conf['https_port']
install_dir dirs['install']
......
......@@ -125,7 +125,7 @@
<IfModule mod_fcgid.c>
DefaultMaxClassProcessCount 3
# Request length must be larger than largest ATTACHFILESIZELIMIT x 1024
FcgidMaxRequestLen 10240000
FcgidMaxRequestLen <%= @params[:fcgid_max_request_len] %>
# Limit requests to control memory growth.
FcgidMaxRequestsPerProcess 400
</IfModule>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment