From 3a74377e861c1a401f1dffbd595f547e04eb72c8 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 22 Jan 2016 12:01:33 +0100 Subject: Initial commit --- public/.htaccess | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 public/.htaccess (limited to 'public/.htaccess') diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..8eb2dd0 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,16 @@ + + + Options -MultiViews + + + RewriteEngine On + + # Redirect Trailing Slashes If Not A Folder... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)/$ /$1 [L,R=301] + + # Handle Front Controller... + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^ index.php [L] + -- cgit v1.2.3