blob: ceb4369a998d08b6450cfcabefd059171e8e6192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# vim: ft=apache sw=4 ts=4
<IfDefine PHP4>
# Load the module first
<IfModule !sapi_apache2.c>
LoadModule php4_module modules/libphp4.so
</IfModule>
# Set it to handle the files
<IfModule mod_mime.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
</IfModule>
# post-adding DirectoryIndex'es
AddDirectoryIndex index.php index.php3 index.php4 index.phps index.phtml
# Fix some bugs
<Files *.php>
# keep this the same size as post_max_size in php.ini
# LimitRequestBody 8388608
</Files>
<Files *.php3>
# keep this the same size as post_max_size in php.ini
# LimitRequestBody 8388608
</Files>
<Files *.php4>
# keep this the same size as post_max_size in php.ini
# LimitRequestBody 8388608
</Files>
<Files *.phps>
# keep this the same size as post_max_size in php.ini
# LimitRequestBody 8388608
</Files>
<Files *.phtml>
# keep this the same size as post_max_size in php.ini
# LimitRequestBody 8388608
</Files>
</IfDefine>
|