Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2004 15:20:52 +0100
From:      Peter Risdon <peter@circlesquared.com>
To:        Andy Holyer <andyh@hhbb.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache returning multiple (Identical) pages?
Message-ID:  <40A4D5C4.4020501@circlesquared.com>
In-Reply-To: <3F8352AE-A5AB-11D8-BEB2-000D93511A6A@hhbb.co.uk>
References:  <3F8352AE-A5AB-11D8-BEB2-000D93511A6A@hhbb.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Andy Holyer wrote:

> This is a weird one. I'm setting up a PHP page on the web server 
> (Apache2, FreeBSD 5.2). When I fetch from a browser, the server 
> delivers index.php over and over again, as fast as it can as far as I 
> can tell.
>
> However if I telnet to port 80 and type in the get request manually, 
> it delivers the page correctly, as far as I can tell. Once, only.
>
> Has anyone seen anything like this before?


I think a little bit more info would help.

Does the apache access log confirm that there are repeated GET requests 
for the page?

Is the page actually refreshing, or does it never seem to have finished 
loading, without the window actually being re-drawn over and over again? 
Infinite loops are a common prob in scripts.

Have you eliminated the possibility of errors in your PHP script by 
trying a very trivial script indeed, or one that you know works?


PWR.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40A4D5C4.4020501>