4
我越来越404错误,同时尝试我的应用程序在服务器上。它在localhost上运行完美。谁能帮我? 网站的网址是:Here is my site 这里是我的.htaccess文件codeigniter网站显示404错误
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
的config.php
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
routes.php文件
$route['default_controller'] = "HomeController";
尝试验证是否没有另一个父''.htaccess'覆盖你的CodeIgniter的一个..真的很难回答,有没有任何日志服务器端? 你也可以访问http://vakratundasystem.in/application/kwikdeals/LoginController/login? – Pogrindis
一些很好的建议在这里:http://stackoverflow.com/questions/14591581/404-page-not-found-the-page-you-requested-was-not-found-code-igniter – Pogrindis
是的,我可以直接访问控制器,但是当我试图访问只有应用程序名称然后得到404错误。 –