diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..b91ad92 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,17 @@ + + + Options -MultiViews -Indexes + + + RewriteEngine On + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] + + # Send Requests To Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] +