Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Question: Manage updates of more then one machine?:


Re: Question: Manage updates of more then one mach
Posted by Anonymous (216.70.xx.xx) on Thu 19 May 2005 at 18:48
I setup a (noncaching) apache proxy which simply translates the requests to a static mirror destination via a local squid cache.

Advantages of using this method are:

    1) users can use the "caching proxy mirror" like any other full mirror. i.e. no proxy settings required in the clients, and users can browse the mirror tree like they could a full mirror.

    2) you don't have to run a public squid service, only an apache proxy.

    3) clients won't "miss" files in the proxy cache because they weren't using the same mirror to fetch their packages.

    4) it only downloads packages in real time as they are needed, and then they're cached for future requests (based on the size of your squid cache).

    5) multiple "caching proxy mirrors" can be setup with just a few lines of apache config (i.e. other distros, etc)

    (I also put an index.html in the DocumentRoot explaining how to use the mirror. -And don't forget to add a robots.txt to prevent search engines from trying to index your entire cache!)


  ServerName   debian.proxy.example.com
  DocumentRoot /var/www/debian.proxy.example.com
  NoCache *
  RewriteEngine on
  RewriteRule ^/debian-non-US(.*) http://non-us.debian.org/debian-non-US$1 [P]
  RewriteRule ^/debian-security(.*) http://security.debian.org/debian-security$1 [P]
  RewriteRule ^/debian(.*) http://ftp.us.debian.org/debian$1 [P]
  ProxyRemote * http://127.0.0.1:3128/  


-Thor Kooda

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search