View previous topic :: View next topic |
Author |
Message |
matttah Apprentice
Joined: 22 Jan 2005 Posts: 207
|
Posted: Tue Jun 09, 2009 2:00 pm Post subject: svn + apache |
|
|
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
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 |
|
|
marens Apprentice
Joined: 05 Aug 2004 Posts: 173
|
Posted: Sat Jun 27, 2009 2:52 pm Post subject: |
|
|
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 |
|
|
|