Bug#579609: Is this still an issue in current apache 2.2 releases?
On Mon, Jan 23, 2012 at 11:16:52PM +0100, Stefan Fritsch wrote: Hi, Nowadays, the mod_php package uses SetHandler to enable php. See /etc/apache2/mods-enabled/php5.conf . You would have to disable that or override it with SetHandler none. Ah makes sense works. Thanks. Sven -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#579609: Is this still an issue in current apache 2.2 releases?
Hi, maybe I missed the point here, but I think this is still an issue with current apache version (2.2.21-5) in sid. What I did to reproduce: - apt-get install libapache2-mod-php5 - edit out the mime types to be sure: sven@marvin:/tmp$ grep php /etc/mime.types #application/x-httpd-phpphtml pht php #application/x-httpd-php-source phps #application/x-httpd-php3 php3 #application/x-httpd-php3-preprocessed php3p #application/x-httpd-php4 php4 #application/x-httpd-php5 php5 - add an alias and location with RemoveType and RemoveHandler for .php to the default configuration Alias /plain /var/www Location /plain RemoveHandler .php RemoveType .php /Location - service apache2 restart Result is that the .php files will still be parsed. What does work is using php_admin_value engine Off within the location as used in the modules php.conf. Does someone see my (obvious?) error here or is this still an open issue or just a missunderstanding of the underlying configuration of the apache package? Sven -- And I don't know much, but I do know this: With a golden heart comes a rebel fist. [ Streetlight Manifesto - Here's To Life ] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#579609: Is this still an issue in current apache 2.2 releases?
On Monday 23 January 2012, Sven Hoexter wrote: - add an alias and location with RemoveType and RemoveHandler for .php to the default configuration Alias /plain /var/www Location /plain RemoveHandler .php RemoveType .php /Location - service apache2 restart Result is that the .php files will still be parsed. Nowadays, the mod_php package uses SetHandler to enable php. See /etc/apache2/mods-enabled/php5.conf . You would have to disable that or override it with SetHandler none. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org