From 2fdf825cee0421f92594a85a45721177a2f8b190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E9=B9=84?= <1182383+zhc02@users.noreply.gitee.com> Date: Wed, 11 Mar 2020 23:56:03 +0800 Subject: [PATCH] 1 --- public/.htaccess | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 public/.htaccess diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..864872e --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,8 @@ + + Options +FollowSymlinks -Multiviews + RewriteEngine On + + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] +