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錯誤。 –