[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.



Reply to: