summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-06-18 07:20:25 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-06-18 07:20:25 +0000
commit853d734715f9e35a2fbb27e91fd9df289050cafa (patch)
treee8b253a7516618ae499de11c3e1aee6ae4c82c6a /dev-php/mod_php/files
parentFix bug number in ChangeLog. (diff)
downloadhistorical-853d734715f9e35a2fbb27e91fd9df289050cafa.tar.gz
historical-853d734715f9e35a2fbb27e91fd9df289050cafa.tar.bz2
historical-853d734715f9e35a2fbb27e91fd9df289050cafa.zip
fix bug #49020 and bug #54086.
Diffstat (limited to 'dev-php/mod_php/files')
-rw-r--r--dev-php/mod_php/files/70_mod_php.conf17
1 files changed, 11 insertions, 6 deletions
diff --git a/dev-php/mod_php/files/70_mod_php.conf b/dev-php/mod_php/files/70_mod_php.conf
index fab4c6e8cc08..ed01744f3c9b 100644
--- a/dev-php/mod_php/files/70_mod_php.conf
+++ b/dev-php/mod_php/files/70_mod_php.conf
@@ -1,7 +1,7 @@
<IfDefine PHP4>
# Load the module first
- <IfModule !mod_php4.c>
+ <IfModule !sapi_apache2.c>
LoadModule php4_module extramodules/libphp4.so
</IfModule>
@@ -16,23 +16,28 @@
# Fix some bugs
<Files *.php>
- LimitRequestBody 524288
+ # keep this the same size as post_max_size in php.ini
+ LimitRequestBody 8388608
RequestHeader unset If-Modified-Since
</Files>
<Files *.php3>
- LimitRequestBody 524288
+ # keep this the same size as post_max_size in php.ini
+ LimitRequestBody 8388608
RequestHeader unset If-Modified-Since
</Files>
<Files *.php4>
- LimitRequestBody 524288
+ # keep this the same size as post_max_size in php.ini
+ LimitRequestBody 8388608
RequestHeader unset If-Modified-Since
</Files>
<Files *.phps>
- LimitRequestBody 524288
+ # keep this the same size as post_max_size in php.ini
+ LimitRequestBody 8388608
RequestHeader unset If-Modified-Since
</Files>
<Files *.phtml>
- LimitRequestBody 524288
+ # keep this the same size as post_max_size in php.ini
+ LimitRequestBody 8388608
RequestHeader unset If-Modified-Since
</Files>