why did everybody visit my svn?
Added by Dominic Xu almost 14 years ago
I don't want to let everybody to visit the SVN repositories.
I set the virtualhost, follow http://www.redmine.org/projects/redmine/wiki/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl.
with apache conf file:
<VirtualHost *:80>
ServerAdmin bbs@image-pro.com.cn
ServerName svn.image-pro.com.cn
ErrorLog "logs/dummy-svn.image-pro.com.cn-error.log"
CustomLog "logs/dummy-svn.image-pro.com.cn-access.log" combined
PerlLoadModule Apache2::Redmine
<Location /svn>
DAV svn
SVNParentPath "/var/svn"
Order deny,allow
Deny from all
Satisfy any
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName "Redmine SVN Repository"
#read-only access<Limit GET PROPFIND OPTIONS REPORT>
Require valid-user
Allow from localhost
Satisfy any
</Limit>
- write access
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
- for mysql
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "redmine"
RedmineDbPass "password"
</Location>
</VirtualHost>
I want to visit the svn repos with himself's password, what will I do?