【发布时间】:2010-05-20 07:49:44
【问题描述】:
我已将 htaccess 文件添加到我的 codeigniter 文件夹中,从那时起我得到了
服务器错误!
服务器遇到内部 错误,无法完成您的 要求。要么服务器是 超载或出现错误 CGI 脚本。
如果您认为这是服务器错误, 请联系站长。错误 500 本地主机 05/20/10 13:16:23 Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
我的 htaccess 文件有这个,
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
【问题讨论】:
-
属于服务器故障? ...从字面上看。
标签: php .htaccess server-error