LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 07:00 AM   #1
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 180

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10: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 09:10 AM
SVN http connection hangs after first use cheshirex Linux - Software 1 12-16-2009 09:07 AM
Problem configuring SVN to work over HTTP midnightmotion Linux - Server 2 09-30-2009 12:38 PM
svn commit hangs (http server) xowl Linux - Server 1 04-24-2007 04:56 PM


All times are GMT -5. The time now is 11:46 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration