我正在使用 codeigniter 从事 php 项目。我对codeigniter很陌生。我有退出项目,我设法正常运行。但是当我插入用户名和密码时,它给了我错误=
"The requested URL /PRS/index.php/login was not found on this server."
我正在使用 wamp 服务器。httpd.conf 文件的 documentRoot 为 "c:/wamp/www/PRS/" 我的 .htaccess 文件的代码为-
RewriteEngine On
RewriteBase /PRS
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /PRS/index.php/$1 [L]
我项目的 config.php 文件的代码为-
$BASE_URL = "http://".$_SERVER['SERVER_NAME']."/PRS/" ;
$DB_HOST = "localhost";
$DB_USER = "root";
$DB_PASSWORD = "mysql";
$DB_NAME = "prsdb";
所以有人可以帮我..