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

RE: Location directive confusing

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2005-03-09 05:49:39 CET

Jonathan Coles wrote:
> I don't really understand the Location directive:
> <Location /repos>
> DAV svn
> SVNPath /absolute/path/to/repository
> </Location>
> According to the SVN Book, the path is supposed to point
> "to a DAV provider whose repository is located at
> /path/to/repository/". What does this mean?
> Is this some repository other than my Subversion repository?
> The example suggests "/usr/local/svn", which doesn't exist
> in my installation.
> Is it a program directory? A repository (of what)?
> It is really unclear.

If you create your Subversion repository at /srv/svn/repos1
then SVNPath should read /srv/svn/repos1 -- simple as that.

If you create your Subversion repository at C:\svn\repos
then SVNPath should read C:\svn\repos -- if you're on Windows.

A Location directive really just tells Apache how to treat
requests that come in for certain locations. In your
example above (quoted from the book?), it simply means
that requests for <http://yourserver/repos/> should
be directed to the SVN repository in the directory

Clearer? I hope so.

Robert Hunter
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it
- please contact me immediately, destroy it, and do not copy
or use any part of this communication or disclose anything about it,
Thank you.
Please note that this communication does not designate an information system
for the purposes of the Electronic Transactions Act 2002
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 9 05:54:11 2005

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.