<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /public/$1 [L,R=301]
RewriteRule ^ index.php [L]
</IfModule>
Laravel -- windows apache .htaccess https 路由重写
猜你喜欢
转载自www.cnblogs.com/gjh99/p/10793735.html
今日推荐
周排行