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 Re: [users@httpd] ?Caching? problems?
Date Mon, 14 Apr 2008 14:03:45 GMT
I had made a mistake not related to Apache and things behaved predictably
well when I fixed it.

Sorry for troubling the list,

On Sat, Apr 12, 2008 at 9:15 PM, j k <jonnykent@gmail.com> wrote:

>
>
> On Sat, Apr 12, 2008 at 3:33 PM, Jonathan Hayward
> http://JonathansCorner.com <christos.jonathan.hayward@gmail.com> 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@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
>
>
> Maybe I'm missing something but I don't see any issue. Both sites
> http://JonathansCorner.com/ <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".
>



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