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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to