On 15 September 2010 22:34, Brian Moore <[email protected]> wrote:

>
> A question - When I click on the "Details" link for any of the files,
> it gives me 2 mirrors for the USA based on my IP address.  Those are
> fukawi2.nl and shadowbranch.com.  Is there any reason that my mirror
> (cptl.org) does not show up?  It is located in the USA too.
>
>
I did notice while I was setting everything up that mirrorbrain (MB) is
having problems with your mirror, and another one. The problem is your
directory listings don't match the 'standard' Apache mod_autoindex HTML
output.

Specifically it's missing the "sort by" heading links. There's a regex that
MB looks for when indexing the mirrors:
^.*<(PRE|pre|table)>.*<(a href|A HREF)="\?(N=A|C=.*;O=)[^"]*">

Your directory index doesn't match the "(N=A|C=.*;O=)" part.

A few solutions:
1) MB prefers to index via rsync -- this is certainly a faster and more
efficient way to do the indexing. If you enabled rsync for the mirror, we
would be able to check against that.
2) FTP is the next preferred method before HTTP.
3) Change your mirror to use Apache so the directory indexes match what MB
expects.
4) Patch MB to support lighttpd directory indexes.

I'm going to investigate option 4 -- it's probably the most difficult, but
it's the best option IMHO rather than having to 'force' rsync / ftp / Apache
on our mirrors. (Even though having more rsync mirrors would be good!! ;P).
It would be nice to be able to contribute something back upstream too.

Cheers,
~p
_______________________________________________
ArchServer Project General Mail List
Post messages to: [email protected]
Administer your subscription: http://lists.archserver.org/listinfo/general

Reply via email to