Apple Mac Power PC problem
| From: | Marc Greenstock | Date: | Thu, 01 Apr 2004 08:24:25 +0000 |
| Subject: | Apple Mac Power PC problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181997@lists.php.net to get a copy of this message | ||
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.