Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 87703 invoked by uid 500); 10 Jan 2003 15:39:40 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 87662 invoked from network); 10 Jan 2003 15:39:40 -0000 Received: from relais.videotron.ca (HELO VL-MS-MR002.sc1.videotron.ca) (24.201.245.36) by daedalus.apache.org with SMTP; 10 Jan 2003 15:39:40 -0000 Received: from [192.168.1.101] ([66.130.20.161]) by VL-MS-MR002.sc1.videotron.ca (iPlanet Messaging Server 5.2 HotFix 0.9 (built Jul 29 2002)) with ESMTP id <0H8I004NH8TIZO@VL-MS-MR002.sc1.videotron.ca> for users@httpd.apache.org; Fri, 10 Jan 2003 10:39:18 -0500 (EST) Date: Fri, 10 Jan 2003 10:46:25 -0500 From: Jonathan Laberge In-reply-to: <002601c2b8bd$7e571080$0101a8c0@sting> To: users@httpd.apache.org Message-id: MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_oRyTc7fBoUmKHyahd1fEWg)" User-Agent: Microsoft-Entourage/9.0.2.4011 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] expires problem --Boundary_(ID_oRyTc7fBoUmKHyahd1fEWg) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable On 1/10/03 10:32 AM, "Arthur Kerpician" wrote: Hi, I don=B9t have your answer but! What I can tell you is that I have used Apache 2.0.40 and under (in the Apache 2 versions) and their seems to be a problem with the posting... If you have a bulletin board and that people us= e textfields, you will probably encounter some troubles... On Redhat 8.0 anyways... I upgraded to 2.0.43 and weverything is fine now... Just thought I would le= t you know... > Hi, > I'm running Apache 2.0.35 with mod_expires on. In httpd.conf i have: > > ServerAdmin admin@server.com > DocumentRoot /path/to/site/files > ServerName virtual.server.com > ExpiresActive On > ExpiresByType text/php A1 > ExpiresByType image/gif A1 > ExpiresByType image/jpg A1 > ..... > > This was supposed to tell any web browser that gif, jpg and php files exp= ire 1 > second after the user accessed that resource. Besides that, every php pag= e has > this header: > =20 > header("Cache-Control: post-check=3D0, pre-check=3D0", false); > header("Pragma: no-cache"); > header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); > header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); > header("Cache-Control: no-cache, no-store, must-revalidate"); > Still, IE6 doesn't refresh the page when the php content is changed, spec= ially > with phpBB2 2.0.3 forums. > I'd like to disable browser caching for this particular virtual server. > =20 > Thanks > =20 > Arthur K. >=20 >=20 --=20 Conception, art visuel, multimedia et internet Jonathan Laberge jlaberge@redboxstudios.com Les Studios RedBox inc. 9643 boul. LaSalle LaSalle (Qu=E9bec) Canada H8R 2N7 www.redboxstudios.com 514 368 3962 bur/off 514 368 9212 tel/fax 514 865 2554 cell/mob --Boundary_(ID_oRyTc7fBoUmKHyahd1fEWg) Content-type: text/html; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Re: [users@httpd] expires problem On 1/10/03 10:32 AM, "Arthur Kerpician" <arthur@tomrad.ro> wrote:
Hi,
I don’t have your answer but!  What I can tell you is that I have used Apache 2.0.40 and under (in the Apache 2 versions) and their seems to be a problem with the posting... If you have a bulletin board and that people use textfields, you will probably encounter some troubles... On Redhat 8.0 anyways...

I upgraded to 2.0.43 and weverything is fine now... Just thought I would let you know...
Hi,
I'm running Apache 2.0.35 with mod_expires on. In httpd.conf i have:
<VirtualHost virtual.server.com:80>
    ServerAdmin admin@server.com
    DocumentRoot /path/to/site/files
    ServerName virtual.server.com
    ExpiresActive On
    ExpiresByType text/php A1
    ExpiresByType image/gif A1
    ExpiresByType image/jpg A1
    .....
</VirtualHost>
This was supposed to tell any web browser that gif, jpg and php files expire 1 second after the user accessed that resource. Besides that, every php page has this header:

header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, no-store, must-revalidate");
Still, IE6 doesn't refresh the page when the php content is changed, specially with phpBB2 2.0.3 forums.
I'd like to disable browser caching for this particular virtual server.

Thanks

Arthur K.



--
Conception, art visuel, multimedia et internet

Jonathan Laberge
jlaberge@redboxstudios.com

Les Studios RedBox inc.
9643 boul. LaSalle
LaSalle (Québec)
Canada H8R 2N7

www.redboxstudios.com

514 368 3962 bur/off
514 368 9212 tel/fax
514 865 2554 cell/mob

--Boundary_(ID_oRyTc7fBoUmKHyahd1fEWg)--