true true On Wed, Sep 15, 2010 at 3:19 PM, Brian Moore <[email protected]> wrote:
> > Nah, I don't think its that big a deal. I'd be willing to bet that it > will support other web server formats before long. Maybe as soon as > Phil creates a patch for it. That's the nice thing about Open Source > Software :) > > Brian > > On Wed, 15 Sep 2010 14:17:13 -0700 (PDT), [email protected] wrote: > > I honestly think mirrorbrain only being compatible with one webserver > > is kinda crap. Aren't there other software options out there? > > > > Sent from my android device. > > > > -----Original Message----- > > From: Brian Moore > > To: Brian Moore > > Cc: ArchServer General > > Sent: Wed, 15 Sep 2010 02:12 PM > > Subject: Re: [ArchServer-General] Mirror Brain -- Infrastructure > > Changes > > > > I am going to partially answer my own question here. I did some > > research and found that you can configure Lighttpd to use a php file > > to > > generate it's output for directory listings. I found a script > > (dir-generator.php) and it worked well at making Apache style sortable > > directory listings. > > > > However, the parameters passed when you click on the heading were > > different then the ones that Apache uses. So the regex that > > MirrorBrain > > looks for is not there. I did some quick mods to the script, and got > > the parameter names and values to match the ones that Apache uses. > > > > Now the sorting sometimes works, and sometimes doesn't - I think it > > has > > something to do with using ';' as the delimiter between parameters vs > > using '&. I may look at it later tonight. But regardless of whether > > the sort works or not, the directory listing on archserver.cptl.org > > should now contain the proper regex. So Phil - do you want to give it > > another try with my server, to see if it can now me index by > > MirrorBrain? > > > > Brian > > > > On Wed, 15 Sep 2010 10:02:19 -0400, Brian Moore > > wrote: > >> Does anyone know off the top of their head if there is a module or > >> configuration setting for Lighttpd that makes it output Apache-style > >> directory listings? That would probably be the easiest fix, if > >> something like that exists. I haven't investigated it yet, though. > >> > >> Brian > >> > >> On Wed, 15 Sep 2010 23:02:45 +1000, Phillip Smith > >> wrote: > >>> On 15 September 2010 22:34, Brian Moore 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 [2] and shadowbranch.com [3]. Is there any reason that > >>> my mirror > >>> (cptl.org [4]) 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: > >>> ^.*.* > >>> > >>> Links: > >>> ------ > >>> [1] mailto:[email protected] > >>> [2] http://fukawi2.nl > >>> [3] http://shadowbranch.com > >>> [4] http://cptl.org > > > > _______________________________________________ > > ArchServer Project General Mail List > > Post messages to: [email protected] > > Administer your subscription: > > http://lists.archserver.org/listinfo/general > > _______________________________________________ > ArchServer Project General Mail List > Post messages to: [email protected] > Administer your subscription: http://lists.archserver.org/listinfo/general >
_______________________________________________ ArchServer Project General Mail List Post messages to: [email protected] Administer your subscription: http://lists.archserver.org/listinfo/general

