Re: PHP4 in .html. HELP!

From: Date: Wed, 12 Sep 2001 04:57:42 +0000
Subject: Re: PHP4 in .html. HELP!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66994@lists.php.net to get a copy of this message
Try it without the . in .html -- Just html, no . -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Max Kluev <max@csa.ru> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Monday, September 10, 2001 5:54 AM Subject: PHP4 in .html. HELP! > > Please, help. > > I write in httpd.conf: > AddType application/x-httpd-php .html > > And see result in browser - browser get reply with content-type: application/x-httpd-php and suggest to save it. > If I rename script to *.php and call it from browser it works Ok. > > How and where can I explain httpd and apache reply with content-type: text/html for .html PHP4 documents. > > Apache Version Apache/1.3.20 PHP/4.0.6 > > Could you help me, please. > > > -- > Max Kluev

« previous php.general (#66994) next »