Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
For those that google brings here:
FYI : Later versions of Intelligentmirror are just a trivial 2-3 line regexp substitution with about 30k of cut'n'paste code and quite a few python libraries (including yum) as dependencies that it uses to parse a 4-line config file.
This is actually the meat of it:
For the record I found my squid2.7 config needed:
< # cache_replacement_policy lru
> cache_replacement_policy heap LFUDA
< # maximum_object_size 20480 KB
> maximum_object_size 80480 KB
> refresh_pattern -i \.(deb|rpm|zip|tar|gz|bz2)$ 259200 90% 259200 override-expire ignore-no-cache ignore-private reload-into-ims ignore-reload
< # quick_abort_min 16 KB
> quick_abort_min -1 KB
> #### BEGIN Add to squid.conf ####
> storeurl_rewrite_program /usr/bin/python /etc/squid/intelligentmirror/intelligentmirror.py
> storeurl_rewrite_children 3
> acl store_rewrite_list urlpath_regex -i .rpm$
> acl store_rewrite_list urlpath_regex -i .deb$
> storeurl_access allow store_rewrite_list
> storeurl_access deny all
> #### END Add to squid.conf ####
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds