LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-11-2011, 06:00 AM   #1
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 183

Rep: Reputation: 15
SVN over HTTP with mod_dav_svn - Setup


Hello

I have a server running Apache httpd and SVN. I want to be able to use my repositories remotely, i have a repository in /home/svn/test

I have followed this guide: http://csoft.net/docs/svndav.html.en

I have included http-svn.conf in the httpd.conf

Snippet:
Code:
# Uncomment the following lines to enable svn support:
#
LoadModule dav_svn_module lib/httpd/modules/mod_dav_svn.so
#LoadModule authz_svn_module lib/httpd/modules/mod_authz_svn.so

#SVN Repository settings
include "/etc/httpd/httpd-svn.conf"
Content of httpd-svn.conf:
Code:
<Location /myproject>
    DAV svn
    SVNPath "/home/svn/test"
    AuthType "Basic"
    AuthName "Projects"
    AuthUserFile "/home/private/svn-auth.pw"
    Order deny,allow
    <LimitExcept GET PROPFIND OPTIONS REPORT>
        Require valid-user
    </LimitExcept>
</Location>
I have also made the pw file in /home/private/

Code:
htpasswd -c home/private/svn-auth.pw admin
The file is created so that should not be a problem.

I have tried adding a SVN repository in Eclipse with the following URL: http://192.168.1.18/test

Error from within Eclipse:
Code:
RA layer request failed
svn: OPTIONS of 'http://192.168.1.18/test': 200 OK (http://192.168.1.18)
I am clearly getting HTTP Status code 200, so there is a connection.

What am i missing ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN over HTTP or HTTPS tgraudo Linux - Networking 2 07-29-2011 09:21 AM
SVN Bazaar error: Unable to handle http code 401: expected 200 or 404 for full respon vikramtheone Linux - Newbie 0 07-02-2010 08:10 AM
SVN http connection hangs after first use cheshirex Linux - Software 1 12-16-2009 08:07 AM
Problem configuring SVN to work over HTTP midnightmotion Linux - Server 2 09-30-2009 11:38 AM
svn commit hangs (http server) xowl Linux - Server 1 04-24-2007 03:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration