On Sat, Apr 18, 2009 at 10:03:09PM +1000, Darrin Khan wrote:
> Hey All,
> 
> A note on the copying URL bit too, any solution that is used, should
> ensure that the URL does not include any GET arguments (ie. no & in
> URL).

Sounds a good idea to keep in mind :)


> > > Restricting the redirection to files instead of directories
> > > might be a good thing, though, to avoid people wondering "where
> > > did my file disappear" right after they uploaded them :) I'll
> > > have a look.

I had a look along with upgrading Apache2::Geo::Mirror and it doesn't
seem suited for this. But that sounds technically doable.

If we manage to implemnt this, we could also display a header like
"You'll be redirected blah blah 24h delay blah".


> An option could be to have the redirect script do a HEAD request once
> every 24hrs (only if the file is requested, not a regular check) to see
> if the file is available on the mirror.

Currently we're using mirmon
(http://download.savannah.gnu.org/mirmon/) to check the health of the
mirror, based on a timestamp file (00_TIME.txt).

When the mirror is too old (> 28h), it's moved out of the pool.

This doesn't solve the 24h delay, but this sound similar to your
suggestion :)

-- 
Sylvain


Reply via email to