redirect到我的Laravel项目文件夹
我在.htaccess文件中有以下内容。 我希望它redirect到我的项目文件夹/hc是在.htaccess相同的水平。 redirect没有发生,它仍然显示index.html的内容。 RewriteEngine On RewriteBase /hc/ <Files .*> Order Deny,Allow Deny From All </Files> RewriteCond %{HTTP_HOST} ^example.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php?/$0 [PT,L,QSA]