404 von der WebsVN-Konfiguration auf Apache

404 von der WebsVN-Konfiguration auf Apache

Ich versuche, Websvn auf Raspberry Pi mit Apache einzurichten. In /etc/apache2/conf.d/websvn habe ich die folgende Konfiguration:

# Configuration for websvn using php4.

Alias /websvn /usr/share/websvn

<Directory /usr/share/websvn>
  ## No MultiViews
  DirectoryIndex index.php
  Options FollowSymLinks
  ## MultiViews
  #DirectoryIndex wsvn.php
  #Options FollowSymLinks MultiViews
  ## End MultiViews
  Order allow,deny
  Allow from all
  <IfModule mod_php4.c>
    php_flag magic_quotes_gpc Off
    php_flag track_vars On
  </IfModule>
</Directory>

Aber wenn ich versuche, eine Verbindung herzustellenhttp://.../websvnIch erhalte den Fehler 404. Im Apache-Protokoll lese ich (ich musste die Protokollebene erhöhen):

[Sat May 14 12:17:52.737294 2016] [authz_core:debug] [pid 652] mod_authz_core.c(809): [client 79.54.45.40:51893] AH01626: authorization result of Require all granted: granted
[Sat May 14 12:17:52.738726 2016] [authz_core:debug] [pid 652] mod_authz_core.c(809): [client 79.54.45.40:51893] AH01626: authorization result of <RequireAny>: granted
[Sat May 14 12:17:52.741081 2016] [core:info] [pid 652] [client 79.54.45.40:51893] AH00128: File does not exist: /var/www/html/websvn

Ich vermute also, dass das Problem darin besteht, dass versucht wird, zu /var/www/html/websvn umzuleiten, das überhaupt nicht existiert. Stattdessen sollte es vermutlich von /usr/share/websvn lesen, wie dieser Alias. Irgendeine Idee, warum das passieren könnte? Ich habe das gesamte /etc-Verzeichnis durchsucht und kein Vorkommen der Zeichenfolge „/var/www/html/websvn“ gefunden.

Antwort1

Das Problem hing damit zusammen, dass die WebsVN-Conf-Datei in /etc/apache2/conf.d statt in /etc/apache2/modules-enabled abgelegt war. Das Problem wurde durch einen symbolischen Link von module-enabled behoben.

verwandte Informationen