зеркало из https://github.com/nextcloud/server.git
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:
Родитель
3772a8acdb
Коммит
0a624c0f1e
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче