diff --git a/.htaccess b/.htaccess index cc60b75be..4d3aa7a80 100755 --- a/.htaccess +++ b/.htaccess @@ -1,8 +1,9 @@ # redirect to public page -RewriteEngine On - -RewriteCond %{REQUEST_URI} !^/public$ -RewriteRule ^(.*)/$ /public/ [R=301,L] + + RewriteEngine On + RewriteCond %{REQUEST_URI} !^public$ + RewriteRule ^(.*)$ %{REQUEST_URI}public/ [R=301,L] + # disable directory browsing # For security reasons, Option all cannot be overridden.