From 4f78d58044b044ab73cd63434c828c280c5fbbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=86=E5=90=AC?= Date: Sat, 15 Sep 2018 09:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=20.htaccess?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .htaccess | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..286a7267 --- /dev/null +++ b/.htaccess @@ -0,0 +1,10 @@ +RewriteEngine +on + +#不显示index.php + +RewriteCond %{REQUEST_FILENAME} +!-d +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^(.*)$ index.php/$1 +[QSA,PT,L] \ No newline at end of file