httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hayward http://JonathansCorner.com" <christos.jonathan.hayw...@gmail.com>
Subject [users@httpd] ?Caching? problems?
Date Sat, 12 Apr 2008 22:33:45 GMT
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@pobox.com
** 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

Mime
View raw message