From a3f311b346ada0bd131aae4f9c7e4622a161027e Mon Sep 17 00:00:00 2001 From: Xavier Date: Wed, 25 Sep 2019 09:11:14 +0200 Subject: [PATCH] Fix Apache regexp (#1943) --- _example/etc/portal-apache2.X.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_example/etc/portal-apache2.X.conf b/_example/etc/portal-apache2.X.conf index 4ab4133fc..5b82e9095 100644 --- a/_example/etc/portal-apache2.X.conf +++ b/_example/etc/portal-apache2.X.conf @@ -32,7 +32,7 @@ # result (example: /oauth2/checksession.html) as static file. Then # uncomment the following line. # RewriteCond "%{REQUEST_FILENAME}" "!\.html$" - RewriteCond "%{REQUEST_FILENAME}" "!^/(?:(?:static|javascript|favicon).*|.*\.fcgi)$" + RewriteCond "%{REQUEST_URI}" "!^/(?:(?:static|javascript|favicon).*|.*\.fcgi(?:/.*)?)$" RewriteRule "^/(.+)$" "/index.fcgi/$1" [PT] # Note that Content-Security-Policy header is generated by portal itself