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_php5.conf-apache2.orig (-6 / +10 lines)
Lines 6-17 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 .php5 .php6
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 .php5
13
		<FilesMatch "\.ph(p[3-6]?|html)$">
14
		AddType application/x-httpd-php-source .phps
14
			SetHandler application/x-httpd-php
15
		</FilesMatch> 
16
		<FilesMatch "\.phps">
17
			SetHandler application/x-httpd-php-source
18
		</FilesMatch>
15
	</IfModule>
19
	</IfModule>
16
20
17
	DirectoryIndex index.php index.phtml
21
	DirectoryIndex index.php index.phtml

Return to bug 162478