httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Csaba Gabor <csaba2...@yahoo.com>
Subject RE: apache 2.0.36 caching php 4.2.0 pages
Date Fri, 10 May 2002 19:31:52 GMT
    Sorry that I cannot be of much help on this, but I also
have Apache 2.0.36 and PHP 4.2.0 as a module on Win2K.
However, I do not have SetInputFilter nor SetOutputFilter

    I have just tested an index page of mine using the very nice
cURL.exe program (from http://curl.haxx.se/) and repeated
invocations (asking for both the header and the resultant
page) produce the following headers (where the date varies):

HTTP/1.1 200 OK
Date: Fri, 10 May 2002 19:26:21 GMT
Server: Apache/2.0.36 (Win32)
Accept-Ranges: bytes
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
Content-Language: en

    Possibly there is something else at work here?
             Csaba Gabor

--- Jon Wagoner <jwagoner@wlion.com> wrote:
> I installed 2.0.36, and same problem.
> 
> Basically, the contents of this php page should change every time it is loaded.  However,
> Apache is just returning a 304 Not Modified message, telling my browser to just pull
it back
> out of it's cache.  So apparently Apache is checking the date of the php file, and returning
> the 304 message, but it should not be doing this for php pages (or any other parsed page).

> Where can I change this behavior for the php pages? (I'd prefer to keep this behavior
for
> images, html, etc.)
> 
> -----Original Message-----
> From: David Jackson [mailto:david.j.jackson@pickledbeans.com]
> Sent: Friday, May 10, 2002 12:01 PM
> To: users@httpd.apache.org
> Cc: david.j.jackson@pickledbeans.com; Jon Wagoner
> Subject: Re: apache 2.0.35 caching php 4.2.0 pages
> 
> 
> Sorry --
> I thinks I may have mis-read you question.
> 
> David
> 
> 
> > Your top level DirectoryIndex in httpd.conf shuold look something like
> > this:
> > 
> > DirectoryIndex  index.html index.php
> > 
> > And don't forget AddType entries.
> > 
> > 
> > David
> > 
> > 
> > p.s. 2.0.36 was released a coupleof day ago.
> > 
> > 
> >> I have set up Apache 2.0.35 and PHP 4.2.0, and everything seems to be
> >> working fine, mostly.  The only problem is that Apache is returning
> >> 304 Not Modified messages for the php pages, so dynamic content is
> >> getting lost.   I am using SetInputFilter and SetOutputFilter to
> >> enable PHP in Apache. Anyone know how to tell Apache not to cache the
> >> PHP pages?
> > 
> > 
> > -- 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> -- 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message