Explorar o código

Create .htaccess

Daniele Bonini (皮夕): WebDev, DevOps and project care by lots of Simplicity bits %!s(int64=4) %!d(string=hai) anos
pai
achega
8dd2b8db1f
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  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]