Re: configuration mime type problem

From: Date: Fri, 28 May 2004 22:03:09 +0000
Subject: Re: configuration mime type problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-23883@lists.php.net to get a copy of this message
try forcing an html header: header('Conent-Type: TEXT/HTML'); you want apache to recognize .php, but the browser should still see it as html (or xml or whatever format you want to use). -dave Tony Moore wrote:
Hi, hoping someone can point me to the correct part of the FAQ or otherwise help me solve this. Installed the PHP binaries as per the instructions, and configured the httpd.conf for apache 1.3, once i restarted apache, I tested with the standard hello.php page indicated on the tutorial. The browsers, both IE and mozilla do not recognise the .php mime type or file extention and are attempting to download the file rather than render the page. I'm pretty sure I followed the install instructions to the letter, but maybe i srewed something up. Thanks for any insight. ____________________________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


« previous php.windows (#23883) next »