LinuxQuestions.org
Help answer threads with 0 replies.
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 02-04-2005, 09:13 AM   #1
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Rep: Reputation: 30
[SVN+Apache2] SVNParentPath directive


Hi all !

I followed a tutorial in order to create an svn server. I've installed the SVN packages and the Apache2/WebDAV packages too. SVN repositories are in the /home/svn directory and Apache is configured on port 4000 (router stuff) and with the rights www-data:www-data. The first repository i tried is of course the classic "test"

When i write the code above in my /etc/apache2/conf.d/svn.conf file, everything goes fine:
Code:
<Location /test>
  DAV svn
  SVNPath /home/svn/test
</Location>
The commands i used are:
svn checkout http://192.168.1.42:4000/test
svn update
svn commit
svn log
All are ok

But where i use the more generic way with this code above, i can only do checkout, but the commit give me an error:
Code:
<Location /svn>
  DAV svn
  SVNParentPath /home/svn
</Location>
With this, the command "svn checkout http://192.168.1.42:4000/svn/test" works perfectly, but the svn commit give me that:
Code:
svn: Commit failed (details follow):
svn: MKACTIVITY of '/svn/test/!svn/act/1ed96515-4aef-0310-83df-877be5a0f52f': 500 Internal Server Error (http://192.168.1.42:4000)
I can't find why i've got this error... I've googled around and haven't found anything. Hope someone has an idea?

Thx
 
Old 07-04-2005, 02:18 PM   #2
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Commit Error

Did you ever find an answer to this? It looks like your httpd.conf is configured correctly, though I don't know if you have loaded the correct modules. Can you post your commit command syntax so we can see if that is correct?

Thank You,
 
Old 07-05-2005, 02:16 AM   #3
Creak
Member
 
Registered: Feb 2004
Distribution: debian
Posts: 187

Original Poster
Rep: Reputation: 30
It's ok now, i've found the solution when reinstalling my server (because it had crashed... long story )
This message seems to reveal a simple rights problem, maybe just the fact that /home/svn hasn't the www-data user and group.
That's all I can remember for this problem Now I've got a good configuration that even has fine grained authentication, I can do my projects with my friends without any problems (except one wih the case sensitivity between linux and windows...), to sum up: it rocks!

If you've some questions i'd be glad to help you!
 
  


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
Using SVN from a remote host? Paulra Linux - Software 1 10-24-2005 10:28 AM
SVN and TortoiseSVN marigb Linux - Software 2 10-14-2005 09:02 AM
ViewCVS doesn't see SVN repository dmellem Linux - Software 1 10-14-2005 01:17 AM
where is svn-python Ratclaws Linux - Software 0 07-22-2005 01:52 PM
subversion(svn) faezeh Fedora 0 05-13-2005 08:59 AM


All times are GMT -5. The time now is 12:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration