TaoLer/public/.htaccess

14 lines
351 B
ApacheConf
Raw Normal View History

2020-01-01 13:17:19 +08:00
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
2020-03-14 17:29:37 +08:00
FileETag MTime Size
RewriteBase /
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=301,L]
2020-01-01 13:17:19 +08:00
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
2020-02-21 11:54:07 +08:00
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
2020-03-14 17:29:37 +08:00
2020-01-01 13:17:19 +08:00
</IfModule>