archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHUS Baptiste" <mathu...@mipih.fr>
Subject RE: Use archiva as simple proxy
Date Mon, 25 Jun 2007 10:45:31 GMT
Yes. But I declared the network proxy + configured the repo to use the proxy connection and
not the "direct connection" one...

When you say it works fine for you, does it also work accessing the repo through a classical
browser like Firefox, or is it another kind of access that must be used?

On the server side, I launched archiva in "console" mode. And accessing the not yet cached
resource doesn't even seem to trigger any web retrieving... When some resource is not cached
yet, shouldn't archiva log something in the console?

Thanks

> -----Message d'origine-----
> De : Michael Horwitz [mailto:mike.horwitz@gmail.com] 
> Envoyé : lundi 25 juin 2007 12:00
> À : archiva-users@maven.apache.org
> Objet : Re: Use archiva as simple proxy
> 
> Works fine for us. Do you access the internet through an 
> authenticated proxy server?
> 
> 
> On 6/25/07, MATHUS Baptiste <mathus.b@mipih.fr> wrote:
> >
> > Great! It now works ok without authentication.
> >
> > But I'm still getting 404 when I try accessing remote 
> resources that 
> > haven't been cached yet. I tried configuring the "proxy connector" 
> > with "cache failures" set to "cached", modifiying this parameter 
> > doesn't seem to change anything.
> >
> > I would like archiva to try downloading remote resources on demand 
> > when first access (as a classical proxy would do). 404 
> would then be 
> > thrown only if the requested resource was not found on one of the 
> > repositories (managed or remote).
> >
> > Thanks again.
> > PS : Isn't what I want to achieve the most common use case?
> >
> > > -----Message d'origine-----
> > > De : Michael Horwitz [mailto:mike.horwitz@gmail.com] 
> Envoyé : lundi 
> > > 25 juin 2007 11:29 À : archiva-users@maven.apache.org Objet : Re: 
> > > Use archiva as simple proxy
> > >
> > > To get this working on our setup, I had to add the repository 
> > > observer role for each managed repository to the guest 
> user (there 
> > > should be one by default?).
> > >
> > > Mike.
> > >
> > > On 6/25/07, MATHUS Baptiste <mathus.b@mipih.fr> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > Is it possible to just disable authentication. I'd like to
> > > use archiva
> > > > as a very simple proxy, just as "maven-proxy" does. Am 
> I forced to 
> > > > declared a guest user for this?
> > > >
> > > > My only wish at the moment is to be able to configure
> > > archiva to act
> > > > as a unified proxy for external resources + corporate 
> ones that I 
> > > > would put in another dir (then from archiva clients, these
> > > resources
> > > > would just be presented unifiedly).
> > > >
> > > > I chose archiva because of the additional search features,
> > > but I would
> > > > really like to disable authentication. I also chose 
> this software 
> > > > because I may have to use some more advanced features in
> > > the future,
> > > > so I hope I will be able to keep on using archiva at this
> > > time instead
> > > > of looking for another product (as I would have had to do
> > > with maven-proxy, for example).
> > > >
> > > > Thanks a lot.
> > > >
> > > > --
> > > > Baptiste MATHUS - mathus.b@mipih.fr Systèmes & Méthodes MIPIH -

> > > > Midi Pyrénées Informatique Hospitalière
> > > >
> > > >
> > >
> >
> 

Mime
View raw message