RE: [PHP] Is it possible to make PHP parse .html files by changin g the .htaccess file

From: Date: Tue, 01 Aug 2000 17:35:12 +0000
Subject: RE: [PHP] Is it possible to make PHP parse .html files by changin g the .htaccess file
Groups: php.general 
Request: Send a blank email to php-general+get-9492@lists.php.net to get a copy of this message
That should be: AddType application/x-httpd-php .html (with a .) And you'll also need to make sure that you either installed PHP as an Apache module, or that you have an Action directive (for a CGI PHP install). --Bruce Bruce Christensen Intel Corporation brucex.r.christensen@intel.com -----Original Message----- From: Matt [mailto:mattice@xs4all.nl] Sent: Monday, July 31, 2000 11:46 PM To: Dan Krumlauf; php-general@lists.php.net Subject: Re: [PHP] Is it possible to make PHP parse .html files by changing the .htaccess file I've never tried it with the .html extention but I did with different ones so I think this could work: AddType application/x-httpd-php html Hope this works, Matt At 18:36 31-7-00 -0400, Dan Krumlauf wrote: >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

« previous php.general (#9492) next »