浏览代码

Create .htaccess

Daniele Bonini (皮夕): WebDev, DevOps and project care by lots of Simplicity bits 3 年之前
父节点
当前提交
8dd2b8db1f
共有 1 个文件被更改,包括 11 次插入0 次删除
  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]