Rich Bowen wrote:
Joshua Slive wrote:
<FilesMatch \.php$>
SetHandler php-script
</FilesMatch>
(in place of any other method of activating php)
[...]
That only works if you happen to be the server administrator. If,
however, you are renting web space from someone who has php enabled
globally (this appears to be the normal Drupal user) that's not going to
solve anything.

And what about

RemoveHandler .php
<FilesMatch \.php$>
SetHandler php-script
</FilesMatch>

That works at least for me while something.php.bar displays now as text/plain.

--
Robert

Reply via email to