diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-02-25 18:47:09 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-25 18:47:09 +0100 |
commit | 0a624c0f1ef72b00ffdb4d223944265bc27050cf (patch) | |
tree | d25a454ec7ee350142c923320e6fda7c0d07c6ac /.htaccess | |
parent | 3772a8acdb611b441bf2ea4fa3e0a37110a9d69f (diff) | |
download | nextcloud-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-- | .htaccess | 1 |
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> |