On Dec 26, 2007, at 21:50, Timothy Murphy wrote:
> 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"?
Here, "/svn" is a path in web space, whereas "/var/www/svn" is a path
in filesystem space on your server's hard disk. A "<Location /svn>"
block means "When a user requests a web location under /svn, do
this." This particular block says "When a user requests a web
location under /svn, pass it off to the Subversion module, which is
to find the corresponding repositories under the parent path /var/www/
svn/Maths."
Apparently you have on your server's hard drive a directory "/var/www/
svn/Maths", and inside this directory, you have created a number of
repositories (including "Penrose").
What else do you have in "/var/www/svn" besides "Maths"?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 27 07:43:24 2007