delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/07/12:46:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Cloudmark-SP-Filtered: true
X-Cloudmark-SP-Result: v=1.0 c=1 a=w--Doo73JLoA:10 a=vTCEyOxEb_sA:10 a=kCKDY91tEBMc+hi4YtGk8Q==:17 a=w_pzkKWiAAAA:8 a=Q1C6vi4xhPbbglz_J94A:9 a=poVsJPAjyekKVaNYNn_0guN368MA:4 a=1PuaHO8Oc9MA:10
Message-ID: <4B6EFC62.5030905@monai.ca>
Date: Sun, 07 Feb 2010 09:46:10 -0800
From: Steven Monai <steve+cygwin AT monai DOT ca>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Wrong setup.exe on http://www.cygwin.com/
References: <d37e30051001290440y177c25fai3cff231e86eda43c AT mail DOT gmail DOT com> <483675 DOT 22644 DOT qm AT web25502 DOT mail DOT ukl DOT yahoo DOT com> <d922b6651002020315w6e2ebb12o1f508e9774a245d9 AT mail DOT gmail DOT com> <4B685C0B DOT 4020600 AT cygwin DOT com> <d922b6651002030016x11003a79v4bbc1f0c3a244218 AT mail DOT gmail DOT com> <4B697009 DOT 6030806 AT gmail DOT com> <9948385e1002070638g85ddd09lb9c38cfcf211a3bb AT mail DOT gmail DOT com> <4B6EE7EC DOT 3090408 AT gmail DOT com>
In-Reply-To: <4B6EE7EC.3090408@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2010/02/07 8:18 AM, Dave Korn wrote:
>   These both work:
> 
> http://www.cygwin.com/setup.exe?&go_away_proxy!
> http://www.cygwin.com/setup.exe?go_away_proxy!


Nice. But of course, you would only try this if you suspect you're
getting a stale 'setup.exe' from a web cache. On the server side (at
cygwin.com), Apache's 'mod_expires' module could be used to send a
strong hint to HTTP caches to NOT cache 'setup.exe' in the first place.

After ensuring that 'mod_expires' is loaded, the addition to
'httpd.conf' could be as simple as:

<Files "setup.exe">
    ExpiresActive On
    ExpiresDefault "now"
</Files>


-SM
--

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019