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
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