From 1d5b68661906b782c1caa8246f030e07afac6402 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Fri, 17 May 2019 20:28:48 +0200 Subject: [PATCH] prevent ERR_TOO_MANY_REDIRECTS --- .htaccess | 1 + install.php | 1 + 2 files changed, 2 insertions(+) diff --git a/.htaccess b/.htaccess index 3ef5e449..b1523b66 100644 --- a/.htaccess +++ b/.htaccess @@ -13,6 +13,7 @@ RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L] # All URL process by index.php RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php [PT,L] \ No newline at end of file diff --git a/install.php b/install.php index bd4075cb..f212c5a9 100644 --- a/install.php +++ b/install.php @@ -215,6 +215,7 @@ RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L] # All URL process by index.php RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php [PT,L] ';