server/lib
Lukas Reschke 3bce1b20fe Add DirectorySlash to dynamic .htaccess write
When `DirectorySlash off` is set then Apache will not lookup folders anymore. This is required for example when we use the rewrite directives on an existing path such as  `/core/search`. By default Apache would load `/core/search/` instead `/core/search` so the redirect would fail here.

This leads however to the problem that URLs such as `localhost/owncloud` would not load anymore while `localhost/owncloud/` would. This has caused problems such as https://github.com/owncloud/core/pull/21015

With this change we add the `DirectorySlash off` directive only when the `.htaccess` is writable to the dynamic part of it. This would also make `localhost/owncloud` work again as it would trigger the 404 directive which triggers the redirect in base.php.
2015-12-08 08:10:55 +01:00
..
l10n [tx-robot] updated from transifex 2015-12-07 01:54:35 -05:00
private Add DirectorySlash to dynamic .htaccess write 2015-12-08 08:10:55 +01:00
public Remove unused setActiveNavigationEntry of OC_App - it's also in OCP\App 2015-12-04 17:23:51 +01:00
repair Merge pull request #20320 from owncloud/drop-file_map 2015-11-05 10:03:41 +01:00
autoloader.php Revert "Dont bother with stream_resolve_include_path if the path is already absolute" 2015-11-29 10:54:29 +01:00
base.php Use URLGenerator instead of hard-coded WEBROOT 2015-12-03 14:42:14 +01:00