add niucloud/public/.htaccess.

Signed-off-by: niucloud <niucloud@outlook.com>
This commit is contained in:
niucloud 2023-12-16 03:53:09 +00:00 committed by Gitee
parent 72333f8528
commit 4e8d048284
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -0,0 +1,8 @@
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
RewriteEngine on RewriteCond % !^$
</IfModule>