Hoperrprime:WebDAV: Difference between revisions

From Earlham CS Department
Jump to navigation Jump to search
Skylar (talk | contribs)
No edit summary
Skylar (talk | contribs)
No edit summary
 
Line 21: Line 21:
</Location>
</Location>
</pre>
</pre>
# Install WebSVN
# Add an alias for it: <tt>Alias /WebSVN "/usr/local/www/data/WebSVN"</tt>

Latest revision as of 03:35, 15 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>