htaccess to make html act as php suffixed files

[email protected] (Tedd Sperling)
Newsgroups php.general
Message-ID <[email protected]>
Hi gang:

To get html pages to use php scripts, I've used:

RewriteEngine on
# handler for phpsuexec. -- this makes these prefixes considered for php
<FilesMatch "\.(htm|html)$">
 SetHandler application/x-httpd-php
</FilesMatch>

In a .htaccess file.

However, it works on one site, but not on another -- any ideas as to why?

Cheers,

tedd


_____________________
[email protected]
http://sperling.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.