summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-02-25 18:47:09 +0100
committerLukas Reschke <lukas@owncloud.com>2016-02-25 18:47:09 +0100
commit0a624c0f1ef72b00ffdb4d223944265bc27050cf (patch)
treed25a454ec7ee350142c923320e6fda7c0d07c6ac /.htaccess
parent3772a8acdb611b441bf2ea4fa3e0a37110a9d69f (diff)
downloadnextcloud-server-0a624c0f1ef72b00ffdb4d223944265bc27050cf.tar.gz
nextcloud-server-0a624c0f1ef72b00ffdb4d223944265bc27050cf.zip
Exclude ocs-provider from rewrite rule
Otherwise `localhost/ocs-provider/` cannot be accessed if mod_rewrite is install ed. Only affects master.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 725efa0971a..ec33fe31e15 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]
</IfModule>