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                                phtml 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

Reply via email to