Browse Source

Create .htaccess

Daniele Bonini (皮夕): WebDev, DevOps and project care by lots of Simplicity bits 3 years ago
parent
commit
8dd2b8db1f
1 changed files with 11 additions and 0 deletions
  1. 11 0
      Public/.htaccess

+ 11 - 0
Public/.htaccess

@@ -0,0 +1,11 @@
+Options -MultiViews
+
+RewriteEngine On
+
+RewriteBase /
+
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteCond %{REQUEST_FILENAME} !-f
+
+# Bootstrap
+RewriteRule "^(.+)" "/index.php?url=$1" [QSA,L]