문서의 이전 판입니다!
# cd /usr/local/src # wget http://viewvc.tigris.org/files/documents/3330/37319/viewvc-1.0.4.tar.gz # tar xvfz viewvc-1.0.4.tar.gz # cd viewvc-1.0.4 # ./viewvc-install This is the ViewVC 1.0.4 installer. It will allow you to choose the install path for ViewVC. You will now be asked some installation questions. Defaults are given in square brackets. Just hit [Enter] if a default is okay. Installation path [/usr/local/viewvc-1.0.4]: /opt/viewvc
svn_roots = projectname: /opt/svn/projectname default_root = projectname
ScriptAlias /viewvc /opt/viewvc/bin/cgi/viewvc.cgi
# ScriptAlias /query /opt/viewvc/bin/cgi/query.cgi
<Location /viewvc>
AuthType Basic
AuthName "Subversion Authentication"
AuthBasicProvider ldap
AuthLDAPURL "ldap://127.0.0.1:389/dc=example,dc=com?uid?sub?(objectClass=*)"
AuthzLDAPAuthoritative off
require valid-user
</Location>
<Location /svn>
DAV svn
SVNParentPath /opt/svn
SVNListParentPath on
AuthType Basic
AuthName "Subversion Authentication"
AuthBasicProvider ldap
AuthLDAPURL "ldap://127.0.0.1:389/dc=example,dc=com?uid?sub?(objectClass=*)"
AuthzLDAPAuthoritative off
require valid-user
</Location>