[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Query regarding SVN aunthetication

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-20 18:32:01 CET

On Jan 20, 2006, at 12:48, Pallavi wrote:

> But it is not prompting for username and password every time I have
> to import or checkout when browsed using file:///.
>
> It only prompts for username and password when tried to view the
> repository contents using web-browser.

Then it's working as intended. When you access the repository via its
file:/// URL, there is no authentication. You have exactly the access
that the operating system gives you to the repository files.

If you access the repository using the http or https protocol, then
you can authenticate via any Apache mechanism.

It sounds like you already have some working copies which you checked
out using the file:/// protocol. For the sake of an example, perhaps
you have a repository at /var/svn and checked out a project like this:

$ svn co file:///var/svn/project1/trunk project1-trunk

And now you have an Apache server set up to serve that repository at
http://www.example.org/svn and you'd prefer to use that. So you just
need to relocate your working copy to that new URL:

$ svn switch --relocate file:///var/svn http://www.example.org/svn

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 20 18:34:00 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.