Dashboard > Linux > Subversion SVN and LDAP and Webdav > Information > Page Comparison
Linux Log In   View a printable version of the current page.
Subversion SVN and LDAP and Webdav
compared with
Current by Alex Polvi
on Aug 01, 2005 17:35.

(show comment)
 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 2 changes. View first change.

  
  
  
 Work in progress.
  
 h2. References
 http://httpd.apache.org/docs-2.0/mod/mod_auth_ldap.html
 http://linuxjournal.com/article.php?sid=7655
 http://users.757.org/~count/wordpress/index.php?p=138
  
 h2. Configs
 {code}
 <Location /public>
  Dav svn
  # Tell Apache to use Subversion's own module
  # for HTTP's Dav extensions.
  
  SVNParentPath /data/svn/repository/public
  AuthType basic
  AuthName "LDAP test"
  AuthLDAPEnabled on
  AuthLDAPAuthoritative on
  AuthLDAPURL ldaps://ldap.osuosl.org:636/ou=People,dc=osuosl,dc=org?uid?sub?(objectClass=*)
  require valid-user
 </Location>
 {code}
  
 {code}
 cp /etc/apache2/mods-available/ldap.load /etc/apache2/mods-enabled/
  ln -s /etc/apache2/mods-available/ldap.load /etc/apache2/mods-enabled/
 {code}
  
 Add to /etc/apache2/apache2.conf
 {code}
 LDAPSharedCacheSize 200000
 LDAPCacheEntries 1024
 LDAPCacheTTL 700
 LDAPOpCacheEntries 1024
 LDAPOpCacheTTL 600
 LDAPTrustedCA /etc/ldap/ssl/osl-ldap-cacert.pem
 LDAPTrustedCAType BASE64_FILE
  
 Include /data/svn/conf/mod_dav_svn.conf
 {code}
  
 Add to /etc/apache2/ports.conf
 {code}
 Listen 8081
 Listen 8080
 {code}
  
 h2. Proxy
 {code}
  
 Listen 443
 Listen 80
  
 NameVirtualHost *:80
 NameVirtualHost *:443
  
 ###############################################################################
 # svn.osuosl.org
  
 <VirtualHost _default_:80>
  SSLDisable
  ServerName svn.osuosl.org
  ProxyPass / http://localhost:8080/
  ProxyPassReverse / http://localhost:8080/
 </VirtualHost>
  
 <VirtualHost _default_:443>
  SSLEnable
  ServerName svn.osuosl.org
  ProxyPass / http://localhost:8080/
  ProxyPassReverse / http://localhost:8080/
 </VirtualHost>
  
 # svn.osuosl.org
 ###############################################################################
 {code}
Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.7 Build:#524 Jul 28, 2006) - Bug/feature request - Contact Administrators