ich habe auf einem virtuellen server apache + svn + ssl eingerichtet und alles funktioniert auch soweit. allerdings hab ich das problem, das wenn man eine url zu einem svn repository eingibt, das nicht vorhanden ist (https://svn.domain/NOT_EXISTING_REPOSITORY), folgende xml-ausgabe statt einem anständigem 404 erscheint:
1 2 3 4 5 6 7 | <?xml version="1.0" encoding="utf-8"?> <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:"> <C:error/> <m:human-readable errcode="2"> Could not open the requested SVN filesystem </m:human-readable> </D:error> |
wie kriege ich es hin, das hier ein 404 ersheint? hier mal meine apache-config für den svn (hinweis: ip und domain wurden mit '#' verschleiert):
<IfModule mod_ssl.c> <VirtualHost #.#.#.#:443> ServerName svn.########.org SSLEngine On SSLCertificateFile /etc/ssl/certs/apache.pem # DocumentRoot /srv/svn # <Directory /srv/svn> # Order Allow,Deny # Allow from all # </Directory> <Location /> DAV svn SVNParentPath /srv/svn AuthType Basic AuthName "Subversion Repositories" AuthUserFile /etc/svn/.dav_svn.passwd AuthzSVNAccessFile /etc/svn/.dav_svn.policy Require valid-user Order Allow,Deny Allow from all </Location> CustomLog /var/log/apache2/svn.log combined ErrorLog /var/log/apache2/svn.log </VirtualHost> </IfModule>