Monday, November 10, 2014

SVN create new folder

$ cd /var/www/svn
$ svnadmin create new
$ cd /etc/httpd/conf.d
$ nano subversion.conf

Add in this:

        DAV svn
        SVNPath /var/www/svn/new
        AuthType Basic
        AuthName "Subversion new"
        AuthUserFile /etc/svn-auth-conf
        Require valid-user



$ chown -R apache:apache /var/www/svn/new
$ /etc/init.d/httpd restart