Re: Is it possible to make PHP parse .html files by changing the .htaccess file
| From: | Brendan W. McAdams | Date: | Wed, 02 Aug 2000 13:16:05 +0000 |
| Subject: | Re: Is it possible to make PHP parse .html files by changing the .htaccess file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9679@lists.php.net to get a copy of this message | ||
in .htaccess file, add this:
AddHandler application/x-httpd-php .html
let me know if you have any problems.
-----
Brendan W. McAdams | ph. (305)377-2880
email: brendan@plexmedia.com | cell: (305)218-6466
Programmer/Systems Administrator | pager: (305)277-4879
Plexus M/2, Inc. | fax: (305)377-2870
http://www.plexmedia.com
"Always listen to the experts; they'll tell you what can't be done and why.
Then do it."
- Robert A. Heinlein
----- Original Message -----
From: "Dan Krumlauf" <Boz@musheen.com>
To: <php-general@lists.php.net>
Sent: Monday, July 31, 2000 6:36 PM
Subject: [PHP] Is it possible to make PHP parse .html files by changing the
.htaccess file
Is there a directive that can be placed in an htaccess file that will
cause all the files with a .html extension in a directory or a specific
file with a .html extension to be parsed by php. I know you can set
something in httpd.conf to parse .html files, But can you do it
on the fly so to speak using a htaccess directive. Im using php4.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net