summaryrefslogtreecommitdiff
blob: b86f2c2280a34a5d41481f4f408ed55101755f13 (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
<IfDefine PHP5>
    
    # Load the module first
    <IfModule !sapi_apache2.c>
        LoadModule php5_module    modules/libphp5.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 .php5
        AddType application/x-httpd-php-source .phps
    </IfModule>
    
    <Files *.php>  
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.php3>  
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.php4>  
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.php5>  
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.phps>  
        RequestHeader unset If-Modified-Since
    </Files>
    <Files *.phtml>  
        RequestHeader unset If-Modified-Since
    </Files>

</IfDefine>