How to log in to WebSVN

Can someone tell me how can I enable the LOGIN function for WebSVN in Ubuntu 9.1?

I was tasked with creating an SVN for my team, and the next one of the links that I followed, which helped me successfully configure my first repositories.

http://agilior.pt/blogs/pedro.rainho/archive/2010/02/06/11698.aspx

But after installing WebSVN, I can see my repositories, but no authentication was requested.

The difference between my settings and the above site is in my httpd.conf (the site uses dav_svn.conf).

my httpd.conf content is:

<Location /svn2>
    DAV svn
    SVNParentPath /home/svn2
    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile /etc/apache2/passwd
    AuthzSVNAccessFile /etc/apache2/dav_svn.authz
    Require valid-user
</Location>

my dav_svn.authz content:

[myproject:/]
    xxx = r

Lots of thks ~ =)

+3
source share
1 answer

- websvn auth, svn. , front-end, . , auth / :

    <Directory /var/www/websvn/>
         AuthType SSPI
         SSPIAuth On
         SSPIAuthoritative On
         SSPIDomain "Subversion repository"
         SSPIOfferBasic On
         Require valid-user
    </Directory>

Directory - . config.php websvn, websvn dav_svn.authz: ​​

$config->useAuthenticationFile("/etc/apache2/dav_svn.authz");

auth, , auth . , AuthType , config.php.

+2

Source: https://habr.com/ru/post/1761434/


All Articles