[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

An example of configuration of Apache2 and subversion

From: Qiang Lu <qlu_at_mail.chem.sunysb.edu>
Date: 2006-12-12 20:46:04 CET

#My system is fc6 (Fedora Core 6),
#UNDER /home/svn
#RUN the following commands (may need sudo)
svnadmin create /home/svn/svnserver
htpasswd -cm /etc/svn-auth-file john
htpasswd -m /etc/svn-auth-file svn
chcon -R -h -t httpd_sys_content_t /home/svn/svnserver

#ADD following to /etc/httpd/conf/httpd.conf

LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

<Location /svn>
  DAV svn
  SVNPath /home/svn/svnserver
  AuthUserFile /etc/svn-auth-file
  AuthType Basic
  AuthName "Subversion repository"
  Require valid-user
</Location>
#change the chmod to 774 of /home/svn/svnserver
#add user: apache, john, etc to svn

Best regards
Qiang Lu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 12 20:47:23 2006

This is an archived mail posted to the Subversion Users mailing list.