Bonjour,
Quelque pourrait m'aider à m'expliquer comment utiliser SVN avec webdav ? Pourtant, je crois faire les bonnes procédures pour l'installation :
Pourtant :
[root@dev-fedora pgrimard]# cd /svn
[root@dev-fedora svn]# mkdir pgrimard2
[root@dev-fedora svn]# svnadmin create /svn/pgrimard2
j'ajoute le location dans httpd.conf :
<Location /pgrimard2>
DAV svn
SVNPath /svn/pgrimard2
</Location>
Je redémarre httpd:
[root@dev-fedora /]# httpd -k restart
Vérification pour apache et webdav :
[root@dev-fedora /]# yum list mod_dav_svn apache
Installed Packages
mod_dav_svn.i386 1.4.4-7 installed
[root@dev-fedora /]# yum list apache
Error: No matching Packages to list
[root@dev-fedora /]# yum list httpd
Installed Packages
httpd.i386 2.2.8-1.fc8 installed
[root@dev-fedora /]#
Erreur apache :
1351 [Sat Mar 22 16:55:20 2008] [error] [client 192.168.1.106] (20014)Internal error: Can't open file '/svn/pgrimard2/format': Permission denied
1352 [Sat Mar 22 16:55:20 2008] [error] [client 192.168.1.106] Could not fetch resource information. [500, #0]
1353 [Sat Mar 22 16:55:20 2008] [error] [client 192.168.1.106] Could not open the requested SVN filesystem [500, #13]
1354 [Sat Mar 22 16:55:20 2008] [error] [client 192.168.1.106] Could not open the requested SVN filesystem [500, #13]
Répertoire /svn/pgrimard2 :
[root@dev-fedora /]# ls -la /svn/pgrimard2
total 72
drwxrwxrwx 7 apache apache 4096 2008-03-22 16:49 .
drwxrwxrwx 10 apache apache 4096 2008-03-22 17:10 ..
drwxr-xr-x 2 apache apache 4096 2008-03-22 16:49 conf
drwxr-xr-x 2 apache apache 4096 2008-03-22 16:49 dav
drwxr-sr-x 5 apache apache 4096 2008-03-22 16:49 db
-rwxrwxrwx 1 apache apache 2 2008-03-22 16:49 format
drwxr-xr-x 2 apache apache 4096 2008-03-22 16:49 hooks
drwxr-xr-x 2 apache apache 4096 2008-03-22 16:49 locks
-rw-r--r-- 1 apache apache 229 2008-03-22 16:49 README.txt
Et si j'essais
http://192.168.1.105/pgrimard2 (déclaré dans le ficher conf de httpd) ça me dit :
?
<D:error>
<C:error/>
<m:human-readable errcode="13">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
qui doit etre causé en grande partie a cause du fichier format dont on voit les traces d'erreurs dans le log :
1351 [Sat Mar 22 16:55:20 2008] [error] [client 192.168.1.106] (20014)Internal error: Can't open file '/svn/pgrimard2/format': Permission denied
1352 [Sat Mar 22 16:55:20 2008] [error] [client 192.168.1.106] Could not fetch resource information. [500, #0]
1353 [Sat Mar 22 16:55:20 2008] [error] [client 192.168.1.106] Could not open the requested SVN filesystem [500, #13]
Pourtant j'essais avec :
chown apache.apache /svn/pgrimard2
chmod 0777 /svn/grimard2
PS: je suis débutant en linux, et je suis en Fédora Core 8.0
Merci!