I have a version of Ubuntu server with subversion, apache2, openssh and need repositories to connect svn with / without any protocol (ssh, file :, http, https, etc.). I configured the repository directory
svnadmin create /path/to/repos/project
Import made
svn import /path/to/import/directory svn+ssh://user@ipaddress/path/to/repos/projectFolder
Configured apache2 and restarted the server
/etc/subversion/mod-avaliable/dva_svn.conf
<Location /svn>
DAV svn
SVNParentPath /home/svn
AuthType Basic
AuthName "Your repository name"
AuthUserFile /etc/subversion/passwd
Require valid-user
</Location>
The use of www-data p> is already allowed
sudo chown -R www-data:www-data /path/to/repos
However, when I tried to access the repository through a browser, I got 403 denied access. How can I continue?
Thank you for the attention
source
share