Re: Re: configuration mime type problem
| From: | Tony Moore | Date: | Sat, 29 May 2004 00:55:53 +0000 |
| Subject: | Re: Re: configuration mime type problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23884@lists.php.net to get a copy of this message | ||
Thanks Dave, I tried this, and am now getting a slightly different error message, 'you
don't have permission to access /hello.php on this server.
Is there some permission settings I should be aware of?
thanks for the info.
--
--------- Original Message ---------
DATE: Fri, 28 May 2004 15:03:09
From: Dave Grijalva <php@etherealsys.com>
To: php-windows@lists.php.net
Cc:
>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
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
____________________________________________________________
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