RE: [PHP] files with html extension
| From: | Mark Maggelet | Date: | Tue, 20 Mar 2001 18:23:05 +0000 |
| Subject: | RE: [PHP] files with html extension | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44791@lists.php.net to get a copy of this message | ||
for php4:
AddType application/x-httpd-php .html
for php3:
AddType application/x-httpd-php3 .html
On Tue, 20 Mar 2001 10:12:56 -0800, Rick VanNorman
(rick@neverslow.com) wrote:
>On 3/20/2001 at 12:29 PM Jack Dempsey wrote:
>
>>You can tell apache to have the php interpreter parse files with an
>>html
>>extension, thereby letting you use the tags in html
>>files.......whether
>>this
>>is a good solution or not is another question.....that would mean
>>that each
>>file would get parsed....why are you trying to do this?
>>
>
>To be able to include php code in otherwise full html files;
>most especially to allow me to do it without having to change
>the name of every file and fix every href in the entire site.
>
>So, exactly how do I tell apache to do this?
>
>Thanks,
>Rick
>1
>
>
>--
>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