SVN using Apache2 on Gentoo

Derek derek at
Mon Mar 13 23:06:36 MST 2006

A possible solution to why the graceful did not work but a reboot did is 
that on startup the apache init script reads /etc/conf.d/apache.  That 
file has the defines in it (-D).  It is possible that after emerging 
subversion the file was updated or you updated it to include -D SVN -D 
DAV_FS.  A gracefule restart will not reread this file but a stop/start 
of apache will.


Steve wrote:

>Hello everyone,
>I am trying to setup a remotely accessible SVN repository for a
>project I'm working on using Gentoo, Subversion and Apache.
>I have followed this tutorial exactly...
>The problem I'm having is that SVN never seems to be getting called no
>matter what I do, you can see the results at
>svnadmin from the commandline is working perfectly as you can clearly see
>Here are my build flags for Apache2
>[ebuild   R   ] net-www/apache-2.0.55-r1  USE="ssl -apache2 -debug
>-doc -ldap -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool
>-mpm-worker -no-suexec -static-modules -threads" 0 kB
>Here are my build flags for subversion
>[ebuild   R   ] dev-util/subversion-1.3.0  USE="berkdb nls perl python
>zlib -apache2* -bash-completion -emacs -java -minimal -nowebdav -ruby"
>0 kB
>Here is my /etc/apache2/modules.d/47_mod_dav_svn.conf file
><IfDefine SVN>
>        <IfModule !mod_dav_svn.c>
>                LoadModule dav_svn_module       modules/
>        </IfModule>
>        <Location /svn/repos>
>                DAV svn
>                SVNParentPath /var/svn/repos
>                AuthType Basic
>                AuthName "Subversion repository"
>                AuthUserFile /var/svn/conf/svnusers
>                Require valid-user
>        </Location>
>        <IfDefine SVN_AUTHZ>
>                <IfModule !mod_authz_svn.c>
>                        LoadModule authz_svn_module     modules/
>                </IfModule>
>        </IfDefine>
>And there is nothing in my error_log when I do a restart...
>sparky repos # /usr/sbin/apache2ctl graceful
>sparky repos # tail /var/log/apache2/error_log
>[Tue Mar 14 04:50:23 2006] [error] [client] script not
>found or unable to stat: /var/www/localhost/cgi-bin/
>[Tue Mar 14 04:56:43 2006] [notice] Graceful restart requested, doing restart
>[Tue Mar 14 04:56:43 2006] [notice] Digest: generating secret for
>digest authentication ...
>[Tue Mar 14 04:56:43 2006] [notice] Digest: done
>[Tue Mar 14 04:56:43 2006] [notice] Apache configured -- resuming
>normal operations
>Also my httpd.conf looks fine as well....
># Extra Modules
># We Include extra .conf files from /etc/apache2/modules.d
># This is used to load things like PHP and mod_ssl.
>Include /etc/apache2/modules.d/*.conf
>I'm at a complete loss here, I have no idea anymore and I'm at wits
>end, I just want to share my code, and this subversion setup has got
>me all confused.
>FYI the only reason you are able to see the repository is because I
>created a symlink in public_html that points directly to the
>repository, which seemed like a logical step, since removing that
>symlink just causes a 404 error when trying to access the repository
>or any project contained in it.
>Anyways sorry for the verbosity of this post, but I wanted to detail
>as much as I thought would be nessecary, if possible please help me
>out here.
>Thanks in advance.
>PLUG:, #utah on
>Don't fear the penguin.

More information about the PLUG mailing list