LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SVN over HTTP with mod_dav_svn - Setup (https://www.linuxquestions.org/questions/linux-software-2/svn-over-http-with-mod_dav_svn-setup-896722/)

madsovenielsen 08-11-2011 06:00 AM

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 ?


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