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:
parent
3772a8acdb
commit
0a624c0f1e
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue