Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Squid
(view source)
Revision as of 14:49, 2 April 2008
927 bytes added
,
14:49, 2 April 2008
Add instructions howto cache windowsupdate downloads
Line 32:
Line 32:
====Bypass the Proxy Server Without Disabling Your Transparent Proxy====
====Bypass the Proxy Server Without Disabling Your Transparent Proxy====
[[:Firewall#Bypass_Proxy]]
[[:Firewall#Bypass_Proxy]]
+
+
====Caching WindowsUpdate download (and others too)====
+
+
Add this on file /etc/squid/squid.conf '''( This must be done thru templates! remember to put instructions here )'''
+
+
******************************************************
+
hierarchy_stoplist cgi-bin ?
+
acl QUERY urlpath_regex cgi-bin \?
+
no_cache deny QUERY
+
cache_mem 16 MB
+
maximum_object_size 1280096 KB
+
cache_dir ufs /var/spool/squid 3000 16 256
+
+
# various windows versions
+
refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
+
refresh_pattern http://.*\.update\.microsoft\.com/ 0 80% 20160 reload-into-ims
+
refresh_pattern http://download\.microsoft\.com/ 0 80% 20160 reload-into-ims
+
refresh_pattern http://windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
+
refresh_pattern http://office\.microsoft\.com/ 0 80% 20160 reload-into-ims
+
**************************************************************
+
+
Execute:
+
squid -k reconfigure
----
----
[[Category:Howto]]
[[Category:Howto]]
Jader
147
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search