NYCPHP Meetup

NYPHP.org

[nycphp-talk] Weird Client Side Problem

ophir prusak lists at prusak.com
Thu Sep 16 09:14:17 EDT 2004


Hi All,

Summary:
When I try to access a PHP page the IP address it works fine, but when I 
use the hostname it hangs.

Details:
(Lets asume www.mydomain.com = IP 1.2.3.4)
These URLs work fine:
http://www.mydomain.com/test.html
http://www.mydomain.com/test.gif
http://1.2.3.4/test.html
http://1.2.3.4/test.gif
http://1.2.3.4/test.php

This URL hangs:
http://www.mydomain.com/test.php (The browser says opening page and 
after a couple of minutes I get an error: The page cannot be displayed)

Here are some more observations:
I do not have this problem when I connect to any other server.
This problem exists both when I use IE 6.0 or Firefox 1.0PR
The problem does not exist if I directly telnet to www.mydomain.com and 
do a GET /test.php (though I really should try it with full HTTP 1.1 
headers).
I tried from another computer at home and the problem does not exist.
Several other people have connected to the server from their computers 
and do not have this problem.

It seems to be a combination of that specific server with my specific 
computer.

I googled this issue and could not find anyone with the same problem.

*****************************
Any suggestions ????
*****************************


FYI - Here is the top of the phpinfo result:

--------------------------------------------------------------------------------------------------------------------------------------

PHP Version 5.0.1

System  Linux plain.ev1servers.net 2.4.21-4.0.1.ELsmp #1 SMP Thu Oct 23 
01:27:36 EDT 2003 i686 
Build Date  Sep 14 2004 02:13:18 
Configure Command  './configure' '--prefix=/usr/local/php' 
'--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-soap' 
Server API  Apache 
Virtual Directory Support  disabled 
Configuration File (php.ini) Path  /usr/local/Zend/etc/php.ini 
PHP API  20031224 
PHP Extension  20040412 
Zend Extension  220040412 
Debug Build  no 
Thread Safety  disabled 
IPv6 Support  enabled 
Registered PHP Streams  php, file, http, ftp 
Registered Stream Socket Transports  tcp, udp, unix, udg 

 This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.1, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.3, Copyright (c) 2003-2004, by Zend 
Technologies
    with Zend Optimizer v2.5.4, Copyright (c) 1998-2004, by Zend 
Technologies
    with Zend Debugger v3.5.1, Copyright (c) 1999-2004, by Zend Technologies
 







More information about the talk mailing list