Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 99061 invoked by uid 500); 11 Feb 2003 07:52: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 99048 invoked from network); 11 Feb 2003 07:52:40 -0000 Received: from ns0a.swx.com (146.109.240.107) by daedalus.apache.org with SMTP; 11 Feb 2003 07:52:40 -0000 Received: from gate0b.unix.swx.ch (gate0b [192.168.252.145]) by ns0a.swx.com (8.12.6/8.12.6) with ESMTP id h1B7qpx2002732 for ; Tue, 11 Feb 2003 08:52:51 +0100 (MET) Received: from SOMEXEVS001.ex.ordersx.org (localhost [127.0.0.1]) by gate0b.unix.swx.ch (8.12.6/8.12.6) with ESMTP id h1B7qn2M004012 for ; Tue, 11 Feb 2003 08:52:50 +0100 (MET) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Tue, 11 Feb 2003 08:52:49 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Expires HTTP Header Thread-Index: AcLRK1Vpe5F8gO/PS4SW1i4iXHbRhQAdsnRA From: "Boyle Owen" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Expires HTTP Header Plain text please... There are three directives which begin Expires***. Look in the docs and = you'll see them. These allow you to define a header using the apache = module, mod_expires. If you want to use some other method to generate = the headers, that's fine, but remember that this is an apache mailing = list - not a general HTTP help-line, so you'll need to look elsewhere = for support. Rgds, Owen Boyle -----Original Message----- From: Monica Lau [mailto:mllau2002@yahoo.com] Sent: Montag, 10. Februar 2003 18:39 To: users@httpd.apache.org Subject: RE: [users@httpd] Expires HTTP Header Hi Boyle,=20 Thanks for your comment! I have looked at the "ExpiresXXXX" directive, = but I thought that this was only if I were to use the Apache = configuration file to generate the HTTP header. Since I'm not using = that, do I still have to load mod_expires? Maybe I'll try both and see = what happens...=20 Thanks,=20 Monica=20 Boyle Owen wrote:=20 Plain text please... Have you looked at the "ExpiresXXXX" directives? You need to load mod_expires but then this gives you a standard interface to generate Expires headers.=20 Be aware that, although you may generate whatever headers you like, the browser or proxy which is doing the caching is under no obligation to obey them. Rgds, Owen Boyle -----Original Message----- From: Monica Lau [mailto:mllau2002@yahoo.com] Sent: Samstag, 8. Februar 2003 01:15 To: users@httpd.apache.org Subject: [users@httpd] Expires HTTP Header Hi all, I am using Apache server version 1.3.26. I use CGI scripts (Perl) to append to the HTTP header. Basically, I don't want my HTML pages to be cached at all. I tried this method,=20 print "Content-type: text/html \n"; print "Pragma: no-cache \n\n"; and it works! However, I heard th! at using Pragma is not good, so I tried using the Expires HTTP header, print "Content-type: text/html \n"; print "Expires: Fri, 30 Oct 2002 14:19:41 GMT \n\n"; However, the page is still cached. Do you know why this? Do I need to install the "mod_expires" Apache module? Thanks for your help, Monica Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended reci! = pient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.=20 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server = Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org