1
结尾的斜杠我有这个htaccess
脚本导致错误代码500
Options -Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ /$1.php [L,QSA]
,所以我可以访问一个页面像example.com/test
但是当我尝试去example.com/test/
它抛出一个500错误。有人能告诉我需要改变它的工作吗?可能是一个愚蠢的错误。从^(.+)$
一个将处理分开斜线
非常感谢你 – topherg 2012-04-20 11:58:45