Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177518 Details for
Bug 162478
dev-lang/php: Apache2 config uses AddType when it should be AddHandler
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use SetHandler rather than misleading AddType
70_mod_php5.conf-apache2.patch (text/plain), 789 bytes, created by
Jamie Learmonth
on 2009-01-05 23:28:13 UTC
(
hide
)
Description:
Use SetHandler rather than misleading AddType
Filename:
MIME Type:
Creator:
Jamie Learmonth
Created:
2009-01-05 23:28:13 UTC
Size:
789 bytes
patch
obsolete
>--- /usr/portage/dev-lang/php/files/70_mod_php5.conf-apache2 2008-01-31 16:35:34.000000000 +0000 >+++ /usr/local/portage/dev-lang/php/files/70_mod_php5.conf-apache2 2009-01-05 23:19:17.000000000 +0000 >@@ -5,14 +5,13 @@ > </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> >+ <FilesMatch "\.ph(p[2-6]?|html)$"> >+ SetHandler application/x-httpd-php >+ </FilesMatch> >+ >+ <FilesMatch "\.phps"> >+ SetHandler application/x-httpd-php-source >+ </FilesMatch> > > DirectoryIndex index.php index.phtml > </IfDefine>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 162478
: 177518 |
177638
|
177648