diff --git a/.htaccess b/.htaccess index 7a181871..c758e98f 100644 --- a/.htaccess +++ b/.htaccess @@ -6,7 +6,7 @@ AddDefaultCharset UTF-8 RewriteEngine on # Base directory -# RewriteBase / +RewriteBase / # Deny direct access to the next directories RewriteRule ^bl-content/(databases|workspaces|pages|tmp|)/.*$ - [R=404,L] diff --git a/bl-kernel/boot/rules/60.router.php b/bl-kernel/boot/rules/60.router.php index 7ac8024d..81faeb00 100644 --- a/bl-kernel/boot/rules/60.router.php +++ b/bl-kernel/boot/rules/60.router.php @@ -1,7 +1,7 @@ uri()=='/'.ADMIN_URI_FILTER) { +if ($url->uri()==HTML_PATH_ROOT.ADMIN_URI_FILTER) { Redirect::url(DOMAIN_ADMIN); }