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

Re: Installation : DMG 1.4.4 :For MAC

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-03 08:24:53 CEST

On Oct 2, 2007, at 22:48, Ashwin Basagouda Patil wrote:

> I have configured subversion server with LDAP authentication on MAC
> os . It is working fine with
> normal configuration but it is not working fine when I am trying to
> access by creating virtual host
> for the different repositories.

You already posted this earlier today already under the subject line
"RE: Major Repository Problem. Please help." Since you have a new
question, in the future, you should post this as a new email. Do not
reply to unrelated topics if you have a new question, as people who
have decided to ignore the previous topic will not see your message,
even if you were to change the subject line. Instead, use your email
client's New Message function and address it to the users list.

> It is displaying the following error massage when I brows through
> Safari browser.
>
> ###################################
>
> "Could not open the requested SVN filesystem"
>
> ####################################

This means you have not pointed Subversion at the correct directory
on the hard disk. Your SVNPath/SVNParentPath directives are likely
wrong. See below.

> Please find my vhost.conf file for two repositories below.
>
> ****************************************************vhost.conf********
> *************************
> NameVirtualHost *:8080
> <VirtualHost *:8080>
> ServerName hathi.domain.com
> ServerAlias www.hathi.domain.com
> ServerAdmin root@localhost
> DocumentRoot /Volumes/Development/Projects/Subversion
> <Location /Subversion>
> DAV svn
> SVNPath /Volumes/Development/Projects/Subversion
> AuthType Basic
> AuthName "Case Network ID"
> AuthLDAPURL "ldap://test.domain.com/dc=test,dc=domain,dc=com"
> AuthLDAPBindDN "uid=root,cn=users,dc=test,dc=domain,dc=com"
> AuthLDAPBindPassword "xxxxxx"
> # All users in openldap
> require valid-user
> # our access control policy
> AuthzSVNAccessFile /usr/local/apache2/Access/svn-authorize-
> file
> # SVNListParentPath on
> </Location>
> ErrorLog /usr/local/apache2/logs/VhostLogs/Hathi/error.log
> CustomLog /usr/local/apache2/logs/VhostLogs/Hathi/access.log
> common
> </VirtualHost>
>
>
> <VirtualHost *:8080>
> ServerName sanctum.domain.com
> ServerAlias www.sanctum.domain.com
> ServerAdmin root@localhost
> DocumentRoot /Volumes/Development/Projects/Subversion/
> <Location /Subversion>
> DAV svn
> SVNPath /Volumes/Development/Projects/Subversion
> AuthType Basic
> AuthName "Case Network ID"
> AuthLDAPURL "ldap://test.domain.com/dc=test,dc=domain,dc=com"
> AuthLDAPBindDN "uid=root,cn=users,dc=test,dc=domain,dc=com"
> AuthLDAPBindPassword "xxxxxx"
> # All users in openldap
> require valid-user
> # our access control policy
> AuthzSVNAccessFile /Volumes/Development/Projects/Subversion/
> Sanctum/Sanctum.txt
> # SVNListParentPath on
> </Location>
> ErrorLog /usr/local/apache2/logs/VhostLogs/Sanctum/error.log
> CustomLog /usr/local/apache2/logs/VhostLogs/Sanctum/
> access.log common
> </VirtualHost>

[snip]

It looks like /Volumes/Development/Projects/Subversion is your
repository. (That is, you ran "svnadmin create /Volumes/Development/
Projects/Subversion" at some point.) If so, you should under no
circumstances make that your DocumentRoot. Make your DocumentRoot any
other directory on your hard disk. Only the SVNPath directive should
point to that directory.

Or is /Volumes/Development/Projects/Subversion in fact a directory
that contains other repositories? (You ran "mkdir /Volumes/
Development/Projects/Subversion" and then "svnadmin create /Volumes/
Development/Projects/Subversion/foo" for example?) If so, then you
want "SVNParentPath /Volumes/Development/Projects/Subversion" instead
of "SVNPath /Volumes/Development/Projects/Subversion".

You say these vhost definitions are "for two repositories" but
they're both pointing at the same hard disk directory... what's your
intention here? You appear to be serving the same repository (or the
same collection of repositories) under two different hostnames, which
is a little unusual.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 3 08:27:06 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.