Hallo zusammen,
ich habe folgendes Problem. Ich möchte Apache2 und Subversion nutzen um HTTPS-Repositorys zu erstellen und diese dann über den Browser aufrufen zu können. So weit so gut, die Installationsanleitung zu diesem Thema sind gut verständlich, nur leider funktioniert es bei mir nicht. Ich verwende folgende Kofniguration:
/etc/apache2/mods-enabled/dav_svn.conf
<Location /svn> DAV svn SVNParentPath /svn/ #SSLRequireSSL #SSLOptions +StrictRequire AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/apache2/dav_svn.passwd AuthzSVNAccessFile /etc/apache2/dav_svn.authz Require valid user # CustomLog /var/log/apache2/svn.log "%t %u %U %{SVN-ACTION} e " env=SVN-ACTION </Location>
/etc/apache2/sites-enabled/svn.conf
GNU nano 2.2.6 File: /etc/apache2/sites-enabled/svn.conf <VirtualHost *:443> ServerName mattiswald.mais.informatik.tu-darmstadt.de:443 SSLEngine on SSLCertificateFile /etc/ssl/apache.pem SSLCertificateKeyFile /etc/ssl/apache.pem SSLProtocol all SSLCipherSuite HIGH:MEDIUM </VirtualHost>
/etc/apache2/ports.conf
#NameVirtualHost *:80 #Listen 80 Listen 80 Listen 8080 <IfModule mod_ssl.c> # If you add NameVirtualHost *:443 here, you will also have to change # the VirtualHost statement in /etc/apache2/sites-available/default-ssl # to <VirtualHost *:443> # Server Name Indication for SSL named virtual hosts is currently not # supported by MSIE on Windows XP. Listen 443 </IfModule> <IfModule mod_gnutls.c> # Listen 443 </IfModule>
Berichtigungen
drwxrwsr-x 6 www-data www-data 4096 Apr 7 13:41 https
drwxrwsr-x 2 www-data www-data 4096 Apr 7 13:41 conf drwxrwsr-x 6 www-data www-data 4096 Apr 7 13:41 db -rwxrwxr-x 1 www-data www-data 2 Apr 7 13:41 format drwxrwsr-x 2 www-data www-data 4096 Apr 7 13:41 hooks drwxrwsr-x 2 www-data www-data 4096 Apr 7 13:41 locks -rw-rwSr-- 1 www-data www-data 229 Apr 7 13:41 README.txt
# Browserinhalt
This XML file does not appear to have any style information associated with it. The document tree is shown below. <D:error><C:error/><m:human-readable errcode="2"> Could not open the requested SVN filesystem </m:human-readable></D:error>
Apache error Log
[Tue Apr 08 11:23:29 2014] [error] [client 192.168.5.81] (20014)Internal error: Can't open file '/svn/https/format': No such file or directory [Tue Apr 08 11:23:29 2014] [error] [client 192.168.5.81] Could not fetch resource information. [500, #0] [Tue Apr 08 11:23:29 2014] [error] [client 192.168.5.81] Could not open the requested SVN filesystem [500, #2] [Tue Apr 08 11:23:29 2014] [error] [client 192.168.5.81] Could not open the requested SVN filesystem [500, #2]
Die Fehlermeldung scheint eindeutig. Jedoch existiert die Datei, www-data ist der Besitzer und ich habe die Rechte sogar testweise auf 775 geändert. Aber trotzdem der selbe Fehler. Ich hoffe jemand von euch hat eine Idee.
Ich danke schonmal im voraus für eure Hilfe.
MfG Twinhand