Subversion (svn) install on RHEL 9 (alma linux), connection using apache https

dnf install mod_dav_svn subversion httpd


chown -R apache.apache /var/www


nano /etc/httpd/conf.d/subversion.conf


LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so


<Location /svn>

   DAV svn

#I place my svn repository in /home/svn and the repository itself is called, repository change the path on the following line

   SVNParentPath /home/svn/

   AuthType Basic

   AuthName "Subversion User Authentication "

   AuthUserFile /etc/svnusers

   Require valid-user

</Location>


htpasswd -cm /etc/svn-auth-users svnuser1


open firewall rules, I prefer using webmin to do so


You need to adjust selinux, in my case I disabled it, since the repository is only for my personal needs.

If you want to add self signed ssl, here is a great tutorial: certificate: https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-apache-on-centos-8

Comments

Popular posts from this blog

Proxmox can't shutdown VM [solved] (can't lock file '/run/lock/qemu-server/lock-*.conf)

Latest OpenWRT (23.05.0) on asus rt-n16 (bcrms driver)