step by step install & config subversion with ubuntu linux

Problems with the Linux version of XAMPP, questions, comments, and anything related.

step by step install & config subversion with ubuntu linux

Postby freehdr » 13. August 2010 15:08

Postby freehdr » 13. August 2010 16:07
how to install & configure subversion in linux and xampp

for install is easy just type apt-get install subversion

and installasion finish

but the problem is in configure
it must LoadModule mod_dav.so and mod_dav_svn.so
& make configuration edit in http.conf file

if anyone can help me please ?
freehdr
 
Posts: 2
Joined: 13. August 2010 14:57

Re: step by step install & config subversion with ubuntu linux

Postby glitzi85 » 20. August 2010 16:19

Did you already create an subversion repository? If not, then do it:
Code: Select all
svnadmin create /path/for/the/repo


Then you can put something like this to your vHost-Configuration:

Code: Select all
<VirtualHost *:80>
  ServerName svn.example.com
  <Location />
        DAV svn
        SVNPath /path/for/the/repo
        AuthType Basic
        AuthName "SVN"
        AuthUserFile /path/to/your/.htpasswd
        Require valid-user
  </Location>
</VirtualHost>


If you do not want to create an subdomain, then you could use something like this into your httpd.conf:
Code: Select all
  <Location /svn>
        DAV svn
        SVNPath /path/for/the/repo
        AuthType Basic
        AuthName "SVN"
        AuthUserFile /path/to/your/.htpasswd
        Require valid-user
  </Location>


In the first example, you would open up svn.example.com, in the second example it is example.com/svn

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 16 guests