[pmwiki-users] 2.1.beta18 released

Jon Haupt jhaupt at gmail.com
Tue Jan 10 16:11:21 CST 2006


I commented them out, but it is still behaving oddly.

I'm trying to figure out what, if anything, I might have done that would
have had an effect.  There is only one thing I can think of:

I had been using the old method of SVN (svn update) to update the files.  It
didn't work this time, giving me an error message because I already had the
folder /pub/css, so I instead used the export method described in
PmWiki/Subversion.  It appeared to work perfectly, but just in case that was
a dumb idea to just export it on top of a previously existing checked-out
SVN installation, that's what I did.  I used the export method to revert
mla2006.com to beta17, as well.

Just out of curiosity, I will create a new svn installation, backup my wiki
onto it, and see what happens.

Otherwise, I really have no idea, I wasn't doing anything odd with this,
particularly with mla2006.com which is a fairly bland installation.

Jon

On 1/10/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
> On Tue, Jan 10, 2006 at 03:50:50PM -0600, Jon Haupt wrote:
> >    On 1/10/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> >      I think it's definitely something with the Last-Modified: header
> >      and $EnableIMSCaching, because it seems to affect only
> ?action=browse,
> >      ?action=diff, and ?action=print.  (Other actions aren't cacheable.)
> >      ...
> >      If you can set $EnableDiag=1; on the site, I'm quite certain I can
> >      figure out what's happening and come up with a fix.
> >
> >    Done.
>
> Okay, I'm stumped stumped stumped for the moment.
>
> Can you comment out lines 43-45 in scripts/stdconfig.php?  They
> currently read
>
>     if (@$EnableIMSCaching
>         && (@$_SERVER['HTTP_IF_MODIFIED_SINCE']==$HTTPLastMod))
>       { header("HTTP/1.0 304 Not Modified"); exit(); }
>
> and I'd like to see what happens when they're commented out, as in:
>
>     # if (@$EnableIMSCaching
>     #     && (@$_SERVER['HTTP_IF_MODIFIED_SINCE']==$HTTPLastMod))
>     #   { header("HTTP/1.0 304 Not Modified"); exit(); }
>
> If that causes things to start working, then try uncommenting them
> again and replacing the HTTP/1.0 with HTTP/1.1 and let's see what
> happens.
>
> Pm
>



--
Jon Haupt
Fine & Performing Arts Librarian
Iowa State University
152 Parks Library
Ames, IA 50011
515-294-0904
jhaupt at iastate.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060110/64cd2078/attachment.html 


More information about the pmwiki-users mailing list