From 88e02ece62c3438356cd39aecebc2dd8f846027d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BF=8A=E5=AE=8F?= <389838709@qq.com> Date: Tue, 2 Jul 2024 16:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/.htaccess | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index e69de29..ae818da 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -0,0 +1,7 @@ +Options +FollowSymlinks -Multiviews +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-f +#RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] +RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] \ No newline at end of file