Difference between revisions of "Hoperrprime:WebDAV"

From Earlham CS Department
Jump to navigation Jump to search
 
Line 21: Line 21:
 
</Location>
 
</Location>
 
</pre>
 
</pre>
 +
# Install WebSVN
 +
# Add an alias for it: <tt>Alias /WebSVN "/usr/local/www/data/WebSVN"</tt>

Revision as of 22:29, 14 January 2008

  1. Build Subversion with Apache support by adding the WITH_MOD_DAV_SVN=yes WITH_APACHE2_APR=yes options to the build.
  2. Make sure the Apache modules are loaded in httpd.conf:
LoadModule dav_svn_module     libexec/apache22/mod_dav_svn.so
LoadModule authz_svn_module   libexec/apache22/mod_authz_svn.so
  1. Create a Includes/svn.conf with
<IfModule dav_svn_module>
        <Location /svn>
                DAV svn
                SVNPath /cluster/svnroot
        </Location>
</IfModule>

<Location /detail/svnroot>
        Order allow,deny
        Allow from none
        Deny from all
</Location>
  1. Install WebSVN
  2. Add an alias for it: Alias /WebSVN "/usr/local/www/data/WebSVN"