Merge lp:~colindean/ubuntu/natty/squid-deb-proxy/allow-but-not-cache-unspecified-domains into lp:ubuntu/natty/squid-deb-proxy
Proposed by
Colin Dean
Status: | Merged |
---|---|
Merge reported by: | Michael Vogt |
Merged at revision: | not available |
Proposed branch: | lp:~colindean/ubuntu/natty/squid-deb-proxy/allow-but-not-cache-unspecified-domains |
Merge into: | lp:ubuntu/natty/squid-deb-proxy |
Diff against target: |
26 lines (+12/-2) 1 file modified
squid-deb-proxy.conf (+12/-2) |
To merge this branch: | bzr merge lp:~colindean/ubuntu/natty/squid-deb-proxy/allow-but-not-cache-unspecified-domains |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt | Pending | ||
Ubuntu branches | Pending | ||
Review via email: mp+40204@code.launchpad.net |
Description of the change
This adds commented lines which can be uncommented to allow access to domains not specified in the mirrors file, but with the caveat that such accesses are not cached. This essentially moves the recommendation from the bug report into the configuration file, wherein the administrator can make the decision.
It would be nicer if there was some kind of option for it ("Allow unspecified domains?") but I don't think the squid.conf options permit that kind of logic.
To post a comment you must log in.
Is it harmful to have "cache deny !to_ubuntu_mirrors" turned on by default? If that was OK, you could do something like
cache deny !to_ubuntu_mirrors
# Comment the next line and uncomment the one after it to allow but not
# cache domains not listed in the mirrors file
http_access deny !to_ubuntu_mirrors
#http_access allow !to_ubuntu_mirrors
which would simplify the changes an admin would have to make.