Skip to content

Commit

Permalink
Item13052: Document APREQ2_ReadLimit
Browse files Browse the repository at this point in the history
Thanks to suggested patch from ChristianLudwig
  • Loading branch information
gac410 committed Dec 24, 2014
1 parent ece80b6 commit 091d5b8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ModPerlEngineContrib/data/System/ModPerlEngineContrib.txt
@@ -1,3 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1419387356" format="1.1" version="1"}%
---+!! !ModPerlEngineContrib
<!--
One line description, required for extensions repository catalog.
Expand Down Expand Up @@ -76,6 +77,24 @@ Go to =Store Settings=:
* ={StoreImpl}=: adjust to =RcsLite=
* ={RCS}{SearchAlgorithm}=: use =Foswiki::Store::SearchAlgorithms::PurePerl= or Foswiki:Extensions/NativeSearchContrib

---+++ =mod_perl+ configuration tuning

=mod_perl= limits the size of attachments to 64M by default. Set the
=APREQ2_ReadLimit= to the maximum expected upload to permit larger
attachments.

Note that this should be kept in sync with the Foswiki =ATTACHFILESIZELIMIT=,
set in %USERSWEB%.SitePreferences, default taken from
%SYSTEMWEB%.SitePreferences.
<verbatim>
<IfModule mod_perl.c>
PerlSwitches -wT
# mod_perl_startup.pl must exist, otherwise Apache will not start.
PerlRequire "/var/www/foswiki/tools/mod_perl_startup.pl"
APREQ2_ReadLimit 104857600
</IfModule>
</verbatim>

---++ Known Issues

* Apache must be =restart=ed in order for configuration changes take effect.
Expand Down

0 comments on commit 091d5b8

Please sign in to comment.