|
httpd.conf里有如下行:LoadModule rewrite_module modules/mod_rewrite.so
另外在ci根目录下已有.htaccess文件,内容如下:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /CodeIgniter/public/index.php/$1 [L]
我的ci目录结构如下:
CodeIgniter为根目录,下有application,system和public。其实就是把application目录移到system外面了,然后新建public目录作为外网可访问的目录。同时把index.php移到public里了。
但我输入:http://localhost/codeigniter/public/admin/backdoor/ 后有如下提示:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, 1 and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. -------------------------------------------------------------------------------- Apache/2.2.4 (Win32) PHP/5.2.3 Server at localhost Port 80
这到底是啥问题?ci的问题?apache的问题?具体要如何解决? |
|