FWIW, this bug has been open for 4 months. It would have been nice if 
you (or the php maintainers) could have sent a note to debian-
apache@l.d.o a bit earlier.

If mod_negotiation requires some mime-type for .php to work, then the 
obvious solution would be to add a non-magic type, for example 
"application/x-php".

IMHO, in order to have the whole php config in one place, this should 
be done with AddType in /etc/apache2/mods-available/php5.conf. Maybe 
like this:

# mod_negotiation's MultiViews needs php scripts to have a mime
# type to make negotiation work. These types are added for this
# purpose, but differently from the magic application/x-httpd-* types,
# they do not cause php scripts to be executed. That is done by the 
# SetHandler directives above.
AddType application/x-php         php phtml php3
AddType application/x-php-source  phps


-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201208152031.44786...@sfritsch.de

Reply via email to