Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 162478 | Differences between
and this patch

Collapse All | Expand All

(-)70_mod_php.conf-apache2.orig (-5 / +10 lines)
Lines 6-16 Link Here
6
6
7
	# Set it to handle the files
7
	# Set it to handle the files
8
	<IfModule mod_mime.c>
8
	<IfModule mod_mime.c>
9
		AddType application/x-httpd-php .php
9
		AddHandler application/x-httpd-php .php .phtml .php3 .php4
10
		AddType application/x-httpd-php .phtml
10
		AddHandler application/x-httpd-php-source .phps
11
		AddType application/x-httpd-php .php3
11
	</IfModule>
12
		AddType application/x-httpd-php .php4
12
	<IfModule !mod_mime.c>
13
		AddType application/x-httpd-php-source .phps
13
		<FilesMatch "\.ph(p[3-4]?|html)$">
14
			SetHandler application/x-httpd-php
15
		</FilesMatch> 
16
		<FilesMatch "\.phps">
17
			SetHandler application/x-httpd-php-source
18
		</FilesMatch>
14
	</IfModule>
19
	</IfModule>
15
20
16
	DirectoryIndex index.php index.phtml
21
	DirectoryIndex index.php index.phtml

Return to bug 162478