can't get .htaccess file to send my html files to the PHP parser




Hi. I want all my html files sent to the php parser for parsing. I
tried to put up an .htaccess file with just this in it:


AddType application/x-php .htm
Action application/x-php /usr/bin/php
AddType application/x-php .html
Action application/x-php /usr/bin/php



Didn't work. Also tried /sbin/. Didn't work.

This is the path, what am I doing wrong:

_SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin

.



Relevant Pages

  • Regular Expressions and performance.
    ... In my project I am downloading html files and parsing them using the ... anything to parse at all by using the Test method before calling the ... different and much faster way than the Execute Method? ...
    (microsoft.public.vb.general.discussion)
  • building a meta search engine
    ... with the task of handling POST/GET requests, parsing HTML and organizing ... Is Java a suitable choice for this task? ... - Does parsing HTML files seem feasible at all? ... its parser, this approach looks painful. ...
    (comp.lang.java.help)
  • .htaccess route to php on .html
    ... I made an .htaccess file to allow my .html files to be parsed for ... It did not work on one server (a university server that is Apache ... files .php on this particular server, ... the .htaccess file simply at the top level of my website or one ...
    (alt.php)
  • Re: firefox refuses to show a website that works on other machines
    ... The site was working till I put up an .htaccess file that was ... suppose to redirect all html files to the PHP parser. ... But it doesn't work in FireFox. ...
    (comp.infosystems.www.authoring.html)
  • firefox refuses to show a website that works on other machines
    ... The site was working till I put up an .htaccess file that was suppose ... to redirect all html files to the PHP parser. ... because I had the address of the PHP parser wrong. ... But it doesn't work in FireFox. ...
    (comp.infosystems.www.authoring.html)