mirror of https://github.com/iAJue/Fantasy-field
Update .htaccess
parent
4aabef7090
commit
d8e6b09e1f
13
.htaccess
13
.htaccess
|
@ -1,7 +1,18 @@
|
|||
# 安装在一级目录
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
Rewritebase /index.php
|
||||
RewriteRule ^(.*)$ /index.php?/$1 [L]
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
||||
# 安装在二级目录,默认二级目录名称为 img, 可自行根据自身情况修改
|
||||
|
||||
#<IfModule mod_rewrite.c>
|
||||
#RewriteEngine on
|
||||
#RewriteCond %{REQUEST_FILENAME} !-d
|
||||
#RewriteCond %{REQUEST_FILENAME} !-f
|
||||
#Rewritebase /index.php
|
||||
#RewriteRule ^(.*)$ /img/index.php?/$1 [L]
|
||||
#</IfModule>
|
Loading…
Reference in New Issue