Wrong setup.exe on http://www.cygwin.com/

Steven Monai steve+cygwin@monai.ca
Sun Feb 7 17:46:00 GMT 2010


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



More information about the Cygwin mailing list