summaryrefslogtreecommitdiffstats
path: root/dev-lang/php/files/70_mod_php.conf-apache2
blob: 90cabfb02dcd26d814b0503e13936db51538082c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<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>

	DirectoryIndex index.php index.phtml
</IfDefine>