标签: php .htaccess laravel-4
这有点奇怪,但它正在发生。我找到了解决方案here
解决方案在.htaccess文件中,而不在php中。它需要更改.htaccess文件中的行
.htaccess
RewriteRule ^ index.php [L]
到
RewriteRule ^(.+)$ /index.php [L]
同样在一台服务器上正常工作,但在另一台服务器上却没有。
我想了解这种行为。为什么会这样?