make sure that the ocm end-point discovery /ocm-provider is not redirected to the index.php
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
1b93af37d6
commit
bdf48d8b4e
|
@ -517,6 +517,7 @@ class Setup {
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/robots.txt";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/robots.txt";
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/updater/";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/updater/";
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocs-provider/";
|
||||||
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/ocm-provider/";
|
||||||
$content .= "\n RewriteCond %{REQUEST_URI} !^/\\.well-known/(acme-challenge|pki-validation)/.*";
|
$content .= "\n RewriteCond %{REQUEST_URI} !^/\\.well-known/(acme-challenge|pki-validation)/.*";
|
||||||
$content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]";
|
$content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]";
|
||||||
$content .= "\n RewriteBase " . $rewriteBase;
|
$content .= "\n RewriteBase " . $rewriteBase;
|
||||||
|
|
Loading…
Reference in New Issue