On 16/12/2011 2:49 p.m., Amos Jeffries wrote:
On 16/12/2011 12:47 p.m., E.S. Rosenberg wrote:
Hi all,
While searching for a way to integrate squid with our apt-cacher in a
nice way I came across an article suggesting jesred, it looks very
interesting and I was wondering:
1. what are other peoples experiences with this redirector/url rewriter.
2. has anyone made a list of useful jesred regexes? (I searched but
only found the debian/ubuntu redirects)
3. is it possible to in a similar way integrate a MS SUS server?
Thanks,
Eli
I note the tutorials on using jesred to link squid and apt-cach are
probably the most inefficient way to create the linkage (though maybe
some smart hacker can come up with a worse way).
Do it this way instead for far greater performance:
cache_peer $apt_cacher_ip parent $apt_cacher_port 0 no-query
originserver name=aptcache
acl ubuntu_repo dstdomain .archive.ubuntu.com security.ubuntu.com
acl ubuntu_paths urlpath_regex ^/ubuntu/(dists|pool)/
cache_peer access aptcache allow ubuntu_repo ubuntu_paths
sorry typo: cache_peer_access
Amos