View previous topic :: View next topic |
Author |
Message |
JoHo42 l33t
Joined: 14 Feb 2004 Posts: 956 Location: Germany
|
Posted: Tue Apr 01, 2008 11:39 am Post subject: subversion will nicht, bin am verzweifeln |
|
|
Hi Leute,
ich hatte auf meinem Rechner mal Subversion ans laufen.
Festplatten kapput und schon ist man am installieren, allerings
bekomme ich jetzt mit den alten Daten mein Subversion Server nicht mehr ans laufen.
Fehlermeldung:
Beim Versuch die Daten abzuhohlen mit dem Klind:
Quote: |
svn: PROPFIND request failed on '/svn/repos/c_database'
svn: PROPFIND of '/svn/repos/c_database': 403 Forbidden (http://192.168.1.49)
|
Server:
/etc/apache2/modules.d/47_mod_dav_svn.conf
Quote: |
IfDefine SVN>
<IfModule !mod_dav_svn.c>
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule dav_module modules/mod_dav.so
LoadModule authz_svn_module modules/mod_authz_svn.so
</IfModule>
<Location /svn/repos>
DAV svn
SVNPath /var/svn/repos
# SVNParentPath /var/svn/repos
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /var/svn/conf/svnusers
Require valid-user
SSLRequireSSL
</Location>
<IfDefine SVN_AUTHZ>
<IfModule !mod_authz_svn.c>
LoadModule authz_svn_module modules/mod_authz_svn.so
</IfModule>
</IfDefine>
</IfDefine>
|
/etc/conf.d/svnserve
Quote: |
# Options for svnserve
SVNSERVE_OPTS="--root=/var/svn/repos"
# User and group as which to run svnserve
SVNSERVE_USER="apache"
SVNSERVE_GROUP="apache"
|
/etc/conf.d/apach2:
Quote: |
APACHE2_OPTS="-D DEFAULT_VHOST -D SSL -D DAV -D SVN -D SVN_AUTHZ -D PHP -D PHP5"
|
Rechte von /var/svn:
Quote: |
drwxr-xr-x 4 root svnusers 4096 Apr 16 2007 .
drwxr-xr-x 16 root root 4096 Mar 28 21:47 ..
drwxr-xr-x 2 apache apache 4096 Feb 14 10:40 conf
drwxrwxr-x 31 apache apache 4096 Mar 31 13:31 repos
|
Gruss Joerg |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Tue Apr 01, 2008 4:39 pm Post subject: |
|
|
Ich nutze nur Apache, nicht den Server selbst : Code: | <Location /svn/repos>
DAV svn
SVNAutoversioning on
SVNParentPath /var/svn/repos
Satisfy Any
Require valid-user
AuthType Basic
SSLRequireSSL
AuthName "SVN (production)"
AuthUserFile /var/svn/conf/svnpasswd
AuthzSVNAccessFile /var/svn/conf/svnaccess
SVNIndexXSLT "/svnindex.xsl"
</Location>
| Der Unterschied liegt eigentlich nur in AuthzSVNAccessFile und SVNParentPath evtl. ist das der Haken, da Du ja auch /Location und nicht /Directory verwendest), oder ?
Und die perms von conf sind bei mir : Code: | tfoerste@n22 /etc/apache2/modules.d $ ls -ld /var/svn/conf/
drwxr-xr-x 2 root root 4096 Sep 7 2005 /var/svn/conf/
|
|
|
Back to top |
|
|
|
|
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
|
|