On Sat, 30 Dec 2017, Mathias Behrle wrote:

> * Alexander Wirt: " Re: salsa.debian.org (git.debian.org replacement) going
>   into beta" (Sat, 30 Dec 2017 14:04:59 +0100):
> 
> > On Sat, 30 Dec 2017, Wouter Verhelst wrote:
> > 
> > > On Sat, Dec 30, 2017 at 12:51:45PM +0100, Alexander Wirt wrote:  
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> >  [...]  
> > > 
> > > OK, cool.
> > >   
> >  [...]  
> > > 
> > > I'm not suggesting you add "anything new". The anonscm.d.o name is
> > > useful enough to keep, and having it be redirected when needed would be
> > > nice.
> > > 
> > > I'm thinking this could be provided independently from running alioth.
> > > 
> > > Anyway, looking forward to your map thing :-)  
> > First draft is on https://salsa.debian.org/salsa/AliothRewriter
> > 
> > Alex
> 
> Probably I am missing something or it is technically not possible, but anyway 
> I
> just want to describe a solution that could be quite simple if possible:
> 
> What about the idea to just direct all requests for anonscm.d.o to salsa and
> redirect to alioth, if the target is not found (i.e. the repository was not
> yet migrated)? Could this be done like described in [0] under "Search for 
> pages
> in more than one directory"?
> 
> [0] https://httpd.apache.org/docs/2.4/rewrite/remapping.html
thats for local directories. There aren't condition for remote urls.

Alex
 

Reply via email to