NYCPHP Meetup

NYPHP.org

[nycphp-talk] Weird Client Side Problem

John Lacey jlacey at att.net
Thu Sep 16 10:18:47 EDT 2004


ophir prusak wrote:

> 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.

Is the host using named virtual servers?  Was the site just moved?
> 
> 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).

HTTP 1.0 didn't pass the hostname in the 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.

what software are the computers running?
> 





More information about the talk mailing list