Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
svn + apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
matttah
Apprentice
Apprentice


Joined: 22 Jan 2005
Posts: 207

PostPosted: Tue Jun 09, 2009 2:00 pm    Post subject: svn + apache Reply with quote

Hi Guys-
Trying to setup SVN repository so I can have a read only user that can get to it via HTTP, however cannot seem to get it to work. I have followed http://www.rockfloat.com/howto/gentoo-subversion.html for what I can, however now I get Access denied: - GET svn:/db

Below are my current config:
Code:

<IfDefine SVN>
        <IfModule !mod_dav_svn.c>
                LoadModule dav_svn_module       modules/mod_dav_svn.so
        </IfModule>
        <Location /svn/repos>
                DAV svn
                SVNParentPath /svn
                #SSLRequireSSL
                AuthType Basic
                AuthName "Super Duper SVN Repository"
                AuthUserFile /svn/conf/svnusers
                AuthzSVNAccessFile /svn/conf/svnpolicy
                <LimitExcept GET PROPFIND OPTIONS REPORT>
                        Require valid-user
                </LimitExcept>
                SVNIndexXSLT /svnindex.xsl
        </Location>
        <IfDefine SVN_AUTHZ>
                <IfModule !mod_authz_svn.c>
                        LoadModule authz_svn_module     modules/mod_authz_svn.so
                </IfModule>
        </IfDefine>
</IfDefine>


Then my svnpolicy is
Code:

[db:/]
*=r


The repository root is /svn on the server. Any suggestions on how to get this up and running would be greatly appreciated.

Thanks,
Daum
Back to top
View user's profile Send private message
marens
Apprentice
Apprentice


Joined: 05 Aug 2004
Posts: 173

PostPosted: Sat Jun 27, 2009 2:52 pm    Post subject: Reply with quote

if you still don't have it up and running

what do the logs say? (/var/log/apache/*)
what is user:group rights of the repo dir?
what is user group rights of authuserfile?
show /etc/conf.d/apache2
show /etc/apache2/httpd.conf

i followed that howto and it worked
_________________
If English was good enough for Jesus, then it's good enough for you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum