导航错误 - Codeigniter

时间:2015-07-01 09:52:06

标签: php codeigniter

使用codeigniter开发应用程序后,我已将文件上传到我的服务器。我可以成功打开主页但无法进一步导航。当我导航404 error时显示。应用程序包含文件夹内的所有页面。

还将baseurl作为当前文件夹:

http://www.xxxx.com/abc/

路线:

$route['login'] = "home/login";

作为Codeigniter的初学者,没有关于发生什么的线索。 注意:更新了Htaccess文件:

IndexIgnore *
ErrorDocument 404 /assets/php/404.php
ErrorDocument 403 /assets/php/403.php

RewriteEngine on
RewriteBase /

#These are the original rewrites, but might cause problems with some server configs.
#RewriteCond $1 !^(index\.php|assets|user_guide|robots\.txt)
#RewriteRule ^(.*)$ /index.php/$1 [L]

#These conditions are tested to work, and should be a better alternative to the commented ones above.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]


<FilesMatch "\.(ico|jpg|jpeg|png|gif)$">
Header set Cache-Control "max-age=290304000, public"
</FilesMatch>

任何帮助..

0 个答案:

没有答案