PryGuy
March 5th, 2009, 03:09 PM
Good day all of you!
I have a question, I have downloaded Ubuntu repository with apt-mirror and put it on server, the question is: is it possible to make Squid replace a part of the address? For instance Squid gets http://archive.ubuntu.com/ubuntu/dists/intrepid/ it replaces it with http://192.168.0.1/ubuntu/dists/intrepid/. So it only changes 'archive.ubuntu.com' to '192.168.0.1' leaving all else unchanged. Or it is better to do the substitution somewhere else? Thank you in advance!
I have a question, I have downloaded Ubuntu repository with apt-mirror and put it on server, the question is: is it possible to make Squid replace a part of the address? For instance Squid gets http://archive.ubuntu.com/ubuntu/dists/intrepid/ it replaces it with http://192.168.0.1/ubuntu/dists/intrepid/. So it only changes 'archive.ubuntu.com' to '192.168.0.1' leaving all else unchanged. Or it is better to do the substitution somewhere else? Thank you in advance!