# How to get Subversion working with Apache

**URL:** <https://www.ruby-forum.com/t/how-to-get-subversion-working-with-apache/106037>\
**Category:** Deployment\
**Created:** [June 5, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/how-to-get-subversion-working-with-apache/106037 "2007-06-05T21:22:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![random52k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7bcc69/32.png) [@random52k](https://www.ruby-forum.com/u/random52k)\
**Post date:** [June 5, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/how-to-get-subversion-working-with-apache/106037/1 "2007-06-05T21:22:12Z")

</div>

ok,  
I know how to create a Virtual Server with Apache  
I know how to create a file:// repository and import and update code.

But my next step is to get Subversion working with Apache so that I can  
access my repository through http:// in order to get Capistrano to do  
its next step.

thanx,  
mike

---

<div class="post-metadata">

**Author:** ![random52k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7bcc69/32.png) [@random52k](https://www.ruby-forum.com/u/random52k)\
**Post date:** [June 6, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/how-to-get-subversion-working-with-apache/106037/2 "2007-06-06T17:54:57Z")

</div>

You may get a better response out of the svn usenet group, just fyi.

[Subversion Users: SVN Apache/WebDAV Windows Setup Quick Reference](http://svn.haxx.se/users/archive-2005-05/0741.shtml) (step 1 may be  
different for you).

On Jun 5, 12:22 pm, Mike G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![random52k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7bcc69/32.png) [@random52k](https://www.ruby-forum.com/u/random52k)\
**Post date:** [June 7, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/how-to-get-subversion-working-with-apache/106037/3 "2007-06-07T20:52:29Z")

</div>

OK, when I had Apache 2.0.59 installed this is how I got my SVN server  
setup and going:

\<VirtualHost \*:80\>  
  
DAV svn  
SVNPath /home/mike/repos  
  
ServerName [svn.host.com](http://svn.host.com)  
DocumentRoot /home/mike/www/svn/htdocs

and of course I had these two lines:  
LoadModule dav\_svn\_module modules/mod\_dav\_svn.so  
LoadModule authz\_svn\_module modules/mod\_authz\_svn.so

Now, I upgraded to Apache 2.2.4 and I get a blank page when I point my  
browser to my SVN server at [svn.host.com](http://svn.host.com). The other odd thing is that  
all my other Virtual Server pages are blank as well. But when I remove  
the second line above:  
#LoadModule authz\_svn\_module modules/mod\_authz\_svn.so  
then all my Virtual Server pages reappear. Except of course for  
[svn.host.com](http://svn.host.com)

---

<div class="post-metadata">

**Author:** ![random52k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/7bcc69/32.png) [@random52k](https://www.ruby-forum.com/u/random52k)\
**Post date:** [June 7, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/how-to-get-subversion-working-with-apache/106037/4 "2007-06-07T22:15:05Z")

</div>

I looked inside my Apache error log and this is what I get every time I  
try to access [svn.host.com](http://svn.host.com)

[Thu Jun 07 15:12:41 2007] [warn] Init: Session Cache is not configured  
[hint: SSLSessionCache]  
[Thu Jun 07 15:12:41 2007] [notice] Apache/2.2.4 (Unix) mod\_ssl/2.2.4  
OpenSSL/0.9.8c DAV/2 SVN/1.4.3 configured – resuming normal operations  
[Thu Jun 07 15:12:49 2007] [notice] child pid 23678 exit signal  
Segmentation fault (11)
