« Fixing “Error: window.location.refresh is not a function” | Home | Setting up a HTTP Gateway on Ubuntu 10.04 »
Setting up a Subversion server using Apache on Ubuntu
By admin | August 9, 2010
Subversion is an excellent open-source solution for keeping track of the different versions while developing software. Here, we will see how to set up a subversion server on an Ubuntu 10.04 LTS Server to provide programmers with the ability to use Subversion.
Prerequisities
Apache 2 should have already been installed and configured with SSL – if not, see the Ubuntu Server Guide for more details. Install the packages subversion and libapache2-svn:
sudo apt-get install subversion libapache2-svn
Setting up
- Create a home for the Subversion files:
sudo mkdir -p /var/svn
- Open up /etc/apache2/mods-available/dav_svn.conf in your favourite text editor of choice, and add the following text at the bottom (ignore anything already there):
<Location /svn> DAV svn SVNParentPath /var/svn SVNListParentPath On AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/subversion/passwd <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> </Location> - Add a user to the Subversion – if you don’t, you may end up with strange errors like “svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request” when trying to commit.
sudo htpasswd -c /etc/subversion/passwd admin
It will prompt for a password – just give it something.
- You’re good to go – although without any projects the server won’t have anything to commit to. Add a project to the server:
sudo mkdir -p /var/svn/project sudo svnadmin create /var/svn/project
Results/Errors
svn commit -m nomsg test1 test2 --username=root --password=top_secret_root_password_here
svn: Commit failed (details follow): svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for '/svn/project/!svn/act/53aca034-c64b-5b41-8bf4- 2715d91af049'
This error is because you do not have a valid login passed to the server, although it could use a much, much more descriptive message than “Internal Server Error”. Remember the login is not the Unix login, but instead the login created with htpassed.
svn commit -m nomsg test01 test02 --user name=admin --password=password_createdby_htpasswd_here
Adding test01 Adding test02 Committed revision 1.
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Internet, Linux | 823 Comments »

January 22nd, 2026 at 20:52
สวัสดีครับ ชอบบทความนี้จัง
อ่านแล้วได้ความรู้เรื่อง iqos
เพิ่มขึ้นเยอะเลย เป็นกำลังใจให้นะครับ
January 22nd, 2026 at 21:00
สวัสดีครับ ชอบบทความนี้จัง อ่านแล้วได้ความรู้เรื่อง
iqos เพิ่มขึ้นเยอะเลย เป็นกำลังใจให้นะครับ
My web blog: iqos terea
January 22nd, 2026 at 21:21
สวัสดีครับ ชอบบทความนี้จัง
อ่านแล้วได้ความรู้เรื่อง iqois เพิ่มขึ้นเยอะเลย จะรอติดตามบทความต่อไปนะครับ
my website – terea iqos
January 22nd, 2026 at 21:44
ทักทายครับ เนื้อหาแน่นปึ้ก อ่านแล้วได้ความรู้เรื่อง iqos เพิ่มขึ้นเยอะเลย เป็นกำลังใจให้นะครับ
January 22nd, 2026 at 22:23
สวัสดีจ้า เขียนได้ดีมากเลยครับ
ช่วยให้เข้าใจเรื่องiqos มากขึ้น
จะรอติดตามบทความต่อไปนะครับ
January 22nd, 2026 at 23:39
สวัสดีจ้า เขียนได้ดีมากเลยครับ กำลังหาข้อมูลเกี่ยวกับ iqos อยู่พอดี เป็นกำลังใจให้นะครับ
Also visit my site :: iqos terea
January 23rd, 2026 at 00:10
ทักทายครับ เนื้อหาแน่นปึ้ก ช่วยให้เข้าใจเรื่อง iqos
มากขึ้น เป็นกำลังใจให้นะครับ
Check out my blog post discuss
January 23rd, 2026 at 00:55
ทักทายครับ เขียนได้ดีมากเลยครับ ใครที่สนใจ
iqos ต้องมาอ่านตรงนี้เลย จะรอติดตามบทความต่อไปนะครับ
My web site … iqos terea
January 23rd, 2026 at 13:38
บทความมีประโยชน์มากครับ
Here is my homepage; terea บุหรี่ ซื้อ ที่ไหน
January 23rd, 2026 at 15:28
บทความมีประโยชน์มากครับ
Feel free to visit mmy site; terea iqos
January 23rd, 2026 at 15:38
สวัสดีครับ เขียนได้ดีมากเลยครับ ช่วยให้เข้าใจเรื่อง iiqos มากขึ้น ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ
Check out my site iqos terea
January 23rd, 2026 at 15:50
สวัสดีครับ เนื้อหาแน่นปึ้ก ใครที่สนใจ iqos ต้องมาอ่านตรงนี้เลย จะรอติดตามบทความต่อไปนะครับ
Feel free to visit my site: iqos bangkok
January 23rd, 2026 at 16:02
บทความมีประโยชน์มากครับ
Alsoo visit my page – terea บุหรี่ ซื้อ ที่ไหน
January 23rd, 2026 at 16:38
เขียนได้น่าสนใจมากครับ
my blog post terea
January 23rd, 2026 at 17:27
อ่านเพลินเลยครับ ขอบคุณครับ
Take a look at my website :: terea iqos ราคาส่ง
January 23rd, 2026 at 18:03
บทความมีประโยชน์มากครับ
my page;terea iqos ราคา
January 23rd, 2026 at 18:28
สวัสดีครับ เนื้อหาแน่นปึ้ก ช่วยให้เข้าใจเรื่อง iqos มากขึ้น ขอบคุณมากครับ
Allso visit my web-site … iqos thailand
January 23rd, 2026 at 18:33
อ่านเพลินเลยครับ ขอบคุณครับ
My webpage – terea
January 23rd, 2026 at 18:44
เขียนได้น่าสนใจมากครับ
My webpage :: บุหรี่ terea ราคา
January 23rd, 2026 at 18:45
สวัสดีครับ ชอบบทความนี้จัง ช่วยให้เข้าใจเรื่อง iqos มากขึ้น ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ
Also visit mmy homepage :: terea iqos
January 23rd, 2026 at 19:34
สวัสดีครับ เขียนได้ดีมากเลยครับ ช่วยให้เข้าใจเรื่อง iqos มากขึ้น เป็นกำลังใจให้นะครับ
my page: iqos bangkok
January 23rd, 2026 at 20:19
สวัสดีครับ เนื้อหาแน่นปึ้ก ใครที่สนใจ iqos ต้องมาอ่านตรงนี้เลย ขอบคุณมากครับ
Here is my web blog … iqos thailand
January 24th, 2026 at 23:22
ตอนนี้กำลังหาข้อมูลเรื่อง บริษัท เช่า
สินสอด เพื่อวางแผนงานแต่งงานอย่างประหยัด
โดยพิจารณาสินสอดทองหมั้น พิธีหมั้น และเงินก้อน แต่งงาน พร้อมศึกษาความเชื่อ สินสอด และประเพณีแต่งงาน เพื่อควบคุมค่าใช้จ่ายงานแต่ง