Re: [http-replicator-users] http-replicator license
Brought to you by:
g3rtjan
From: Gertjan v. Z. <ger...@gm...> - 2008-01-31 10:18:18
|
Ok - I released 4.0alpha2 with a GPL license file. Yes, certainly. I posted the patch to the tracker at > > http://sourceforge.net/tracker/index.php?func=detail&aid=1882403&group_id=195382&atid=953220 I see. I suppose the --nohost option is meant to be an easy way of dealing with mirrors, limited to hosts that serve files in exactly the same directory structure? I was thinking of using symlinks for that purpose, manually put in the cache directory for host/path prefixes that are known to have identical content. Symlinks form a security risk so I should still add a check that prevents pointing away from cache, or maybe away from a list of allowed paths, but that is a different matter - the approach should already work. Granted it takes a little more work to make these links, although of course I would suggest to script it, but it is definitely safer than setting all hosts equal. Compare the old --flat option that went as far as stripping away everything but the filename itself, and then consider a common file like index.html. The --mirror option, if I see it correctly, prepends a host/path prefix to every requested file. I can't quite figure out the use from the patch summary. Is it your aim to configure at proxy level which mirror is used to download packages from? Wouldn't the same be achieved by setting all mirrors equal by the above symlink approach? Gj |