Exclude ocs-provider from rewrite rule

Otherwise `localhost/ocs-provider/` cannot be accessed if mod_rewrite is install
ed. Only affects master.
This commit is contained in:
Lukas Reschke 2016-02-25 18:47:09 +01:00
parent 3772a8acdb
commit 0a624c0f1e
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php
RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php
RewriteCond %{REQUEST_FILENAME} !/updater/ RewriteCond %{REQUEST_FILENAME} !/updater/
RewriteCond %{REQUEST_FILENAME} !/ocs-provider/
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule .* index.php [PT,E=PATH_INFO:$1] RewriteRule .* index.php [PT,E=PATH_INFO:$1]
</IfModule> </IfModule>