From 0a624c0f1ef72b00ffdb4d223944265bc27050cf Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 25 Feb 2016 18:47:09 +0100 Subject: [PATCH] Exclude ocs-provider from rewrite rule Otherwise `localhost/ocs-provider/` cannot be accessed if mod_rewrite is install ed. Only affects master. --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index 725efa0971..ec33fe31e1 100644 --- a/.htaccess +++ b/.htaccess @@ -63,6 +63,7 @@ RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php RewriteCond %{REQUEST_FILENAME} !/updater/ + RewriteCond %{REQUEST_FILENAME} !/ocs-provider/ RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* RewriteRule .* index.php [PT,E=PATH_INFO:$1]