This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Wrong setup.exe on http://www.cygwin.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]