From 0a6899d2b425b4839ecbf2e75f342199788451f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=93=9C=E5=93=A5?= Date: Sun, 17 Oct 2021 17:43:29 +0800 Subject: [PATCH] htaccess --- app/.htaccess | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/.htaccess b/app/.htaccess index 3418e55a..108778be 100644 --- a/app/.htaccess +++ b/app/.htaccess @@ -1 +1,8 @@ -deny from all \ No newline at end of file + +Options +FollowSymlinks -Multiviews +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] +