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

Re: Http access to SVN repository

From: Timothy Murphy <gayleard_at_eircom.net>
Date: 2007-12-27 04:50:50 CET

Timothy Murphy wrote:

> -----------------------------------------
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> # Example configuration to enable HTTP access for a directory
> # containing Subversion repositories, "/var/www/svn".
>
> <Location /repos>
> DAV svn
> SVNParentPath /var/www/svn
> # SVNPath /var/www/svn/Penrose
> #
> # # Limit write permission to list of valid users.
> # <LimitExcept GET PROPFIND OPTIONS REPORT>
> # # Require SSL connection for password protection.
> # # SSLRequireSSL
> #
> # AuthType Basic
> # AuthName "Subversion Repository"
> # AuthUserFile /etc/svn-auth-file
> # Require valid-user
> # </LimitExcept>
> </Location>
> -----------------------------------------

I found in the end my problem was that I left <Location /repos>
even though my repository is in /var/www/svn .
When I changed this to <Location /svn> all worked fine.

I had been assuming - foolishly, I see now -
that /repos or /svn were just dummy names.

I'm still not entirely clear how httpd knows
that /svn means /var/www/svn .

I actually have
-----------------------------------------
<Location /svn>

   Options Indexes FollowSymLinks

   DAV svn
   SVNParentPath /var/www/svn/Maths
...
</Location>
-----------------------------------------
My project is in /var/www/svn/Maths/Penrose .

But what exactly does "Location /svn" mean?
Why not "Location /var/www/svn"?

-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 27 04:53:37 2007

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.