Für das Subversionrepository verwenden wir Websvn als Frontend.
Nach einem PHP-Update funktionierte plötzlich das MultiViews-Feature [1] nicht mehr, mit dem Websvn kürzere und lesbarere URLs realisiert.
[error] [client x.x.x.x] Negotiation: discovered file(s) matching request: /var/www/localhost/htdocs/websvn/wsvn (None could be negotiated).
Im Bugtracker hatte bereits jemand das Problem gemeldet [2]. Ursache ist ein Update der mod_php5.conf für das Apachemodul. Dort wurde die Einbindung von PHP auf die vom Hersteller empfohlene Weise umgestellt [3]. Dabei wird auf SetHandler statt AddType gesetzt:
# Set it to handle the files
<FilesMatch "\.ph(p5?|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
Um PHP mit MultiViews wieder zu aktivieren, reicht ein
AddType application/x-httpd-php .php
in der entsprechenden Vhost-Konfiguration oder in einer .htaccess.
Quellen:
[1] http://httpd.apache.org/docs/2.2/content-negotiation.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=256941
[3] http://www.php.net/manual/en/install.unix.apache2.php Example #1 Installation Instructions - Schritt 15