httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Wagoner" <jwago...@wlion.com>
Subject RE: apache 2.0.36 caching php 4.2.0 pages
Date Fri, 10 May 2002 18:56:53 GMT
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


Mime
View raw message