diff --git a/lib/private/Setup.php b/lib/private/Setup.php index cbfdcb2ee0..369447def2 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -544,7 +544,7 @@ class Setup { $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_FILENAME} !/richdocumentscode/proxy.php$"; + $content .= "\n RewriteCond %{REQUEST_FILENAME} !/richdocumentscode(_arm64)?/proxy.php$"; $content .= "\n RewriteRule . index.php [PT,E=PATH_INFO:$1]"; $content .= "\n RewriteBase " . $rewriteBase; $content .= "\n ";