Skip to content

Instantly share code, notes, and snippets.

@katopz
Last active August 29, 2015 14:12
Show Gist options
  • Save katopz/002168f440db3549a761 to your computer and use it in GitHub Desktop.
Save katopz/002168f440db3549a761 to your computer and use it in GitHub Desktop.
#template for SVN config /etc/httpd/conf/extra/httpd-svn.conf
#svn folder must be at root tho
#try
#service httpd restart
#when done
LoadModule dav_svn_module /usr/lib/apache/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache/mod_authz_svn.so
<IfModule dav_svn_module>
<IfModule authz_svn_module>
<Location /svn>
DAV svn
SVNParentPath /svn
AuthzSVNAccessFile /svn/authz
AuthType Basic
AuthName "Pi R Square Subversion repository"
AuthUserFile /svn/passwd
Require valid-user
Order deny,allow
Allow from all
</Location>
</IfModule>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment