diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-09 15:13:07 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-09 22:41:32 +0100 |
commit | b315a5ee29b346b7f6bcc7b56d5f369fac8bdec9 (patch) | |
tree | 6bc9b69dd4ebd144e8fcb5eb1e70a34a0159bd06 /.htaccess | |
parent | b0174343023259a2b5ff252876be0a2e6c3d9276 (diff) | |
download | nextcloud-server-b315a5ee29b346b7f6bcc7b56d5f369fac8bdec9.tar.gz nextcloud-server-b315a5ee29b346b7f6bcc7b56d5f369fac8bdec9.zip |
Add base rewrite rule only when RewriteBase is defined
In case Apache is configured with an `Alias` such as with the ownCloud packages the rewrite rules will fail when no valid RewriteBase is configured.
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess index ec33fe31e15..085467e91ca 100644 --- a/.htaccess +++ b/.htaccess @@ -65,7 +65,6 @@ RewriteCond %{REQUEST_FILENAME} !/updater/ RewriteCond %{REQUEST_FILENAME} !/ocs-provider/ RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* - RewriteRule .* index.php [PT,E=PATH_INFO:$1] </IfModule> <IfModule mod_mime.c> AddType image/svg+xml svg svgz |