diff --git a/.htaccess b/.htaccess index 7a181871..3ef5e449 100644 --- a/.htaccess +++ b/.htaccess @@ -9,7 +9,7 @@ RewriteEngine on # RewriteBase / # Deny direct access to the next directories -RewriteRule ^bl-content/(databases|workspaces|pages|tmp|)/.*$ - [R=404,L] +RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L] # All URL process by index.php RewriteCond %{REQUEST_FILENAME} !-f diff --git a/install.php b/install.php index 06d4f494..cd22f83c 100644 --- a/install.php +++ b/install.php @@ -210,7 +210,7 @@ RewriteEngine on RewriteBase '.HTML_PATH_ROOT.' # Deny direct access to the next directories -RewriteRule ^bl-content/(databases|workspaces|pages|tmp|)/.*$ - [R=404,L] +RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L] # All URL process by index.php RewriteCond %{REQUEST_FILENAME} !-f