can't get .htaccess file to send my html files to the PHP parser
- From: lkrubner@xxxxxxxxxxxxx
- Date: 18 Jul 2005 02:04:53 -0700
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
.
- Follow-Ups:
- Re: can't get .htaccess file to send my html files to the PHP parser
- From: John Dunlop
- Re: can't get .htaccess file to send my html files to the PHP parser
- Prev by Date: Re: Is there a setting or program for doing strict checking in PHP compilation?
- Next by Date: Re: XAMPP and mcrypt
- Previous by thread: O'Reilly PHP Cookbook in error?
- Next by thread: Re: can't get .htaccess file to send my html files to the PHP parser
- Index(es):
Relevant Pages
|