:: Re: [DNG] How to build your own dis…
Página Principal
Delete this message
Reply to this message
Autor: KatolaZ
Data:  
Para: dng
Assunto: Re: [DNG] How to build your own distro
On Sun, Oct 14, 2018 at 07:54:25AM -0400, Hendrik Boom wrote:
> On Sun, Oct 14, 2018 at 11:17:20AM +0200, KatolaZ wrote:
> > On Sun, Oct 14, 2018 at 11:05:20AM +0200, aitor_czr wrote:
> >
> > [cut]
> >
> > > On the other hand, the configuration suggested by KatolaZ:
> > >
> > > http://pkgmaster.devuan.org/devuan_mirror_walkthrough.txt
> > >
> > > that is:
> > >
> > > RewriteEngine on
> > > RewriteRule /devuan/merged/pool/DEVUAN/(.*) /devuan/pool/$1
> > > RewriteRule /devuan/merged/pool/DEBIAN-SECURITY/(.*) /debian-security/pool/$1
> > > RewriteRule /devuan/merged/pool/DEBIAN/(.*) /debian/pool/$1
> > >
> > > didn't work for me. I just shared the one which worked in my server, using Redirect 302.
> > >
> >
> > Dear Aitor,
> >
> > could you please elaborate on that? Many Devuan mirrors are using
> > apache and they have used the same walkthrough. If there is anything
> > we should change/improve in the walkthrough, it would be good to know.
>
> nginx or apache?
>
> There are others. This may be moot because I don't have the resources
> for a Devuan mirror anyway (just a home DSL line), but I use lighttpd.
>


There are package mirrors using lighttpd as well, and they work just
fine.

> Do I guess correctly that every web server would have to be configured
> completely differently and that it's a mug's game to try and handle all
> these possibilities in one document?
>


rewrite rules are server-specific. There is no way around that.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]