【发布时间】:2011-09-29 12:10:56
【问题描述】:
我有一个 htaccess 文件:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
我想在下面添加一行,但它给了我 500 错误。
选项-索引
有人可以帮忙吗?
【问题讨论】:
-
检查 Apache 的 错误日志 -- 它会告诉你错误的确切原因(这就是错误日志的用途)。