Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-02-25 20:47:09 +0300
committerLukas Reschke <lukas@owncloud.com>2016-02-25 20:47:09 +0300
commit0a624c0f1ef72b00ffdb4d223944265bc27050cf (patch)
treed25a454ec7ee350142c923320e6fda7c0d07c6ac /.htaccess
parent3772a8acdb611b441bf2ea4fa3e0a37110a9d69f (diff)
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>