Hey Brent,

The problem isn't within the server, the http.conf file accepts index.php as
the first default file. The server is on a linux machine, and the mac is
just a desktop connected to the internet.

When i try to access the site on the mac, it says it can't find the url. I
instantly thought it was a dns problem, but I pinged it at port 80 and it
worked fine. I then proceeded to access some of the sites on the server that
are purly html, that worked fine. Eventually I put a meta refresh on a page
on one of the sites that was working to take it to the one that wasn't, that
worked, and now the site is working fine from now on.

But when I try a few other sites on the mac they don't work, same headers as
the last. meta refreshing seems to work of course, but I need to find out
why this is happening.

marc

"Brent Baisley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
There is no problem with Power PC's or the headers. I've been using PHP
and Apache for a few years now on Macs without a problem. What it
sounds like is that they did not configure Apache to allow index.php as
a default directory index page. As I recall, Apache defaults to only
allowing index.html or index.htm as a default directory page, you need
to add index.php to the configuration file.


On Apr 1, 2004, at 3:24 AM, Marc Greenstock wrote:

> Hi all,
>
> I noticed on a clients Apple Mac Power PC that his php driven website
> wasn't
> working for him. It wasn't loading up at all, in fact it was returning
> an
> error that the URL could not be found.
>
> I discovered a quick fix for the problem, that is to create a
> index.html
> file and run a meta refresh to index.php, this seems to work.
>
> Something in the headers php sends seems to screw up Power PC's
> resolving
> method.
>
> The headers I send are:
>
> header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
> header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
> header("Cache-Control: no-store, no-cache, must-revalidate");
> header("Cache-Control: post-check=0, pre-check=0", false);
> header("Cache-control: private");
> header("Pragma: no-cache");
>
> and what's being received is:
>
> HTTP/1.1·200·OK
> Date:·Thu,·01·Apr·2004·08:46:00·GMT
> Server:·Apache/1.3.27·(Unix)··(Red-Hat/Linux)·mod_jk/1.2.0·mod_perl/
> 1.26·PHP
> /4.3.3·FrontPage/5.0.2·mod_ssl/2.8.12·OpenSSL/0.9.6bX-Powered-By:·PHP/
> 4.3.3
> Set-Cookie:·PHPSESSID=8ebf6b7d4895473a054bb8f50b2a66dd;·path=/
> Expires:·Mon,·26·Jul·1997·05:00:00·GMT
> Cache-Control:·private
> Pragma:·no-cache
> P3P:·CP="NOI·ADM·DEV·PSAi·COM·NAV·OUR·OTRo·STP·IND·DEM"
> Last-Modified:·Thu,·01·Apr·2004·08:46:00·GMT
> Connection:·close
> Content-Type:·text/html
>
> Is there anything in these headers that could cause Power PC's to fail
> resolution?
>
> Thank.
>
> Marc.
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-- 
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to