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
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-php
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
3 matches
Mail list logo