LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache + SVN Issue (http://www.linuxquestions.org/questions/linux-networking-3/apache-svn-issue-816802/)

Phat32 06-28-2010 09:19 AM

Apache + SVN Issue
 
I am having an issue trying to log into my SVN server. I followed:
Setting up a Subversion server using Apache2 - openSUSE

to the letter and when I try to checkin stuff I get:
Code:

MKACTIVITY of '/svn/mohawk/!svn/act/cfad1e8c-3ce7-6a44-9e6d-f9867b419a81': authorization failed: Could not authenticate to server: rejected Basic challenge (http://path)
I changed the config a bit to lock down a dir so it asked when I check out too and I get *changed the URL*:
Code:

OPTIONS of 'http://path': authorization failed: Could not authenticate to server: rejected Basic challenge (http://path)
If I take out the Auth it does work instantly, but I need Auth on the svn

How to I get the login to accept? As I said I followed the guide to the letter, including the user creation.

paulsm4 06-28-2010 10:45 AM

Hi -

Several good suggestions here:

http://www.experts-exchange.com/Soft..._24339802.html

Specifically:
1. If possible, troubleshoot with a browser located on the server itself (OpenSuSE?). Do NOT try to troubleshoot with a remote client (for example, a remote Windows PC) until you're 100% sure everything is working on the server side.

2. Try using "svn+ssh" instead of "http":
Code:

Rather than use the "http" protocol try "svn+ssh"

So the repo URL would be:

svn+ssh://<username>@<ip_address_of_SVN_Server>:<ssh_port>/<path_to_repo>/


the port can be omitted if it is the SSH default (port 22).

3. Double-check that you're actually using the correct username/password FOR SUBVERSION.

'Hope that helps .. PSM

Phat32 06-28-2010 11:13 PM

Thanks for the reply,

From what I can tell everything is setup correctly. When I remove the Require valid-user field I can check in and out no issues. Its only when its active that it fails. The user file was made as directed in the walkthrough. I have been testing on the box itself to see if it works, I get the same result in it, or in a remote box.

How would I use svn+ssh? Is there more to setup? and how would we use it on a Windows Client? The end result will be on a Windows Client. I am hosting it for my GF's Uni project.

Any thoughts?


All times are GMT -5. The time now is 10:19 PM.