summaryrefslogtreecommitdiff
blob: b06b9cd75742ce30cef34a0d250c78fd5e88aad9 (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
<IfDefine PHP4>
    
    # Load the module first
    <IfModule !mod_php4.c>
        LoadModule php4_module    extramodules/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>
    
    # Fix some bugs
    <Files *.php>  
        LimitRequestBody 524288
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.php3>  
        LimitRequestBody 524288
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.php4>  
        LimitRequestBody 524288
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.phps>  
        LimitRequestBody 524288
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.phtml>  
        LimitRequestBody 524288
        RequestHeader unset If-Modified-Since
    </Files>

</IfDefine4>