這是.htaccess文件現在Laravel 4個htaccess的重定向循環2
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
,但我想改變這個文件時請求來自blog.domain.com重定向到/博客文件夾和其他文件在index.php
那麼你是如何使用所造成的循環? –
當我更改網址到/博客 –