Re: ?Caching? problems?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Sat, Apr 12, 2008 at 3:33 PM, Jonathan Hayward http://JonathansCorner.com <christos.jonathan.hayward@xxxxxxxxx> wrote:
I am trying to move my main sites from a host which is closing to a new server. Most of the migration has gone well but I am experiencing odd ?caching? behavior that has old data being served up even if I hit shift-reload or go to a different computer(!).

The new server is running NetBSD, and httpd -v gives:

Server version: Apache/2.0.59
Server built:   Jul  5 2007 12:37:12

The source site is http://JonathansCorner.com/ , copied on the new server to http://moved.jonathanscorner.com/ . I'm having trouble with the root-level index, which should change once a minute and does so on the source site.

On the destination site, I have a script that looks at the domain and serves up either the (changing minute by minute) content of http://JonathansCorner.com/ , or if the domain is one of a few specific domains, serves up the content of http://JonathansCorner.com/home/ . Now, accessing it through http://moved.jonathanscorner.com/ is intended to give similar results to http://JonathansCorner.com/ , and if I circumvent Apache and run the script on the command line, it does exactly what I want it to.

The behavior I have seen was first for http://moved.jonathanscorner.com/ to give one single, frozen page like http://JonathansCorner.com/ shows (this is persistent across shift-reloads), and then to give the content of http://JonathansCorner.com/home/ .

I can post the script if requested, but I don't think it's the script, both because it is simple enough--serve up one of two files depending on regexp comparisons of the domain names--and because I get the intended dynamic output if I run it from the command line.

Are there ways Apache may be caching that I can configure away in httpd.conf or script headers? Are there other likely culprits?

Thanks,

--
++ Jonathan Hayward, jonathan.hayward@xxxxxxxxx
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

Maybe I'm missing something but I don't see any issue. Both sites
http://JonathansCorner.com/  and http://moved.jonathanscorner.com/

look the same aside from slightly different "starting points" when I view them. The  starting point on both refreshes to the same thing on both when I  do cntl-r  and every so often ( ihaven't actually timed it) when I do that it changes to a different starting point
.

So "it works for me".

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux