Re: Browser going to page twice?
| From: | Morgan Hughes | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Browser going to page twice? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126781@lists.php.net to get a copy of this message | ||
On Mon, 2 Dec 2002, Leif K-Brooks wrote:
> I'm having a weird problem. When I go to a page on my site, it often
> goes twice. I'm not sure if this is a client-side or server-side
> problem, but it doesn't happen on other sites. Is this a common
> problem, or am I making some dumb mistake?
Is it the index.php of a directory? Often if you go to
http://server/directory
Apache rewrites that to
http://server/directory/
with a Location header or some such. If entering it in your browser
with the slash fixes it, that's the one.
Modern browsers seem to automatically add a slash if you just put in
www.domain.com
as part of converting it to
http://www.domain.com/
but for subdirectories there is often a redirect.
hope this helps!
--
Morgan Hughes
C programmer and highly caffeinated mammal.
kyhm@kyhm.com
ICQ: 79293356