Hi,
I have the following issue: I can not access our SVN repository if I am using the hostname defined for it (it works only through the IP).
On the DNS server it is defined that svn.idi.local should point to 192.168.2.211/svn.
On the SVN server I have the following files:
<VirtualHost *:80>
ServerName svn.idi.local
<Location /svn>
DAV svn
SVNParentPath /srv/svn
SVNListParentPath On
AuthType Basic
AuthName "IDI SVN Authentication"
AuthBasicProvider crowd
CrowdAppName apache
CrowdAppPassword apache
CrowdURL http://localhost:8095/crowd/
AuthzSVNCrowdAccessFile /etc/subversion/dav_svn.authz
Require valid-user
</Location>
</VirtualHost>
<Location /svn>
DAV svn
SVNParentPath /srv/svn/
SVNListParentPath On
AuthType Basic
AuthName "Crowd Authentication"
AuthBasicProvider crowd
CrowdAppName apache
CrowdAppPassword apache
CrowdURL http://localhost:8095/crowd/
AuthzSVNCrowdAccessFile /etc/subversion/dav_svn.authz
Require valid-user
</Location>
I have also set up the dav_svn.authnz file.
My problem is that if I use 192.168.2.211/svn/src, I have access.
If I use svn.idi.local/src, I have no access (file not found on server). I do not know if the issue is on the SVN server or on the DNS server.
Pinging svn.idi.local shows me the correct address (192.168.2.211).
Any suggestions?
Community moderators have prevented the ability to post new answers.
Found the issue: missing / in SVNParentPath. Now it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.