Project

General

Profile

why did everybody visit my svn?

Added by Dominic Xu over 13 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
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
&lt;Location /svn&gt;
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>
  1. write access
    <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
    </LimitExcept>
  1. for mysql
    RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "redmine" 
RedmineDbPass "password"
&lt;/Location&gt;

</VirtualHost>

I want to visit the svn repos with himself's password, what will I do?


Replies (1)

    (1-1/1)