Fix Apache regexp (#1943)

This commit is contained in:
Xavier 2019-09-25 09:11:14 +02:00
parent aa87f8f98a
commit a3f311b346
1 changed files with 1 additions and 1 deletions

View File

@ -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