|
本帖最后由 天水依然 于 2019-12-16 20:46 编辑
.htaccess
- <IfModule mod_rewrite.c>
- Options +FollowSymlinks -Multiviews
- RewriteEngine On
- RewriteCond $1 !^(index\.php|robots\.txt|resources)
- RewriteCond %{SERVER_PORT} !^443$
- RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R]
- RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
- </IfModule>
复制代码
请教大侠???
|
|