1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Subersion under Plesk 9.3

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by BRAHM, Jan 23, 2010.

  1. BRAHM

    BRAHM New Pleskian

    20
    40%
    Joined:
    Jan 20, 2010
    Messages:
    22
    Likes Received:
    0
    hi guy,

    I am under plesk 9.3 at 1and1 data center and I am trying to instal subversion

    I have just followed the steps below:

    1) yum install subversion mod_dav_svn

    2) svnadmin create MyProjet

    3) chown -R apache.apache /var/www/vhosts/mydomain.com/httpdocs/svn/MyProject

    4) I put the info below in i /var/www/vhosts/mydomain.com/vhost.conf

    <Location /repos>
    DAV svn
    SVNParentPath /var/www/vhosts/mydomain.com/httpdocs/svn
    #
    # Limit write permission to list of valid users.
    <LimitExcept GET PROPFIND OPTIONS REPORT>
    # Require SSL connection for password protection.
    # SSLRequireSSL
    #
    AuthType Basic
    AuthName "Authorization Realm"
    AuthUserFile /var/www/vhosts/mydomain.com/httpdocs/svn/passwd
    Require valid-user
    </LimitExcept>
    </Location>

    5)I run these too:

    /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=mydomain.com

    /usr/local/psa/admin/sbin/websrvmng -a

    /etc/init.d/httpd restart

    6) I have created the auth.

    htpasswd -c /var/www/vhosts/mydomain.com/httpdocs/svn/passwd myusername

    THE PROBLEMS:

    when I type in a browser: www.mydomain.com/repos/MyProjet it does not ask for user and password and it displays my repository.

    I could not figure out how to set user and projects privileges. How can I do it ?

    I have tried my svn test project with tortoise and it worked fine, but I need to solve these two problems above to get it working as expected. any help is apprecitated.
    s
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Why you do not use "Password Protected Directories" feature for protection your subversion directory?
     
Loading...