diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..c367759 --- /dev/null +++ b/.htaccess @@ -0,0 +1,10 @@ + + RewriteEngine On + + # Redirect all requests to the public directory where the front controller lives + RewriteCond %{REQUEST_URI} !^/public/ + RewriteRule ^(.*)$ public/$1 [L] + + +# Ensure the public front controller is used as the default directory index +DirectoryIndex public/index.php