404 problems with codeigniter

Source: Internet
Author: User
Codeigniter 404 is a problem. Hello everyone, the following problem occurs when codeigniter is used at first: 1. it runs normally in Windows XP and a 404 error occurs in linux. 2. access the home page (http: // IP address/project name/or http: // IP address/project codeigniter 404 error
Hello everyone, the following problems have occurred when using codeigniter:

1. windows xp runs normally and linux runs properly with the 404 error.
2. access the home page (http: // IP address/project name/or http: // IP address/project name/index. php/index), but when you log on to the system (http: // IP address/project name/index/login), Error 404 occurs. The index controller contains the public login method.
3. the linux environment is red hat Enterprise Edition 5, apache is 2.0.64, php configures rewrite for apache 5.4.3, and path info is also added

I tried to modify uri_request in config. php to various possible values (query_string, auto, etc.

Looking at the codeigniter log, it seems that login. php has been sent to the browser, but why is it still 404?

There is no problem with the same program in windows. what may be the problem? Thank you!
Codeigniter log:
DEBUG-09:42:54 --> Config Class Initialized
DEBUG-09:42:54 --> Hooks Class Initialized
DEBUG-09:42:54 --> Utf8 Class Initialized
DEBUG-09:42:54 --> UTF-8 Support Enabled
DEBUG-09:42:54 --> URI Class Initialized
DEBUG-09:42:54 --> Router Class Initialized
DEBUG-09:42:54 --> Output Class Initialized
DEBUG-09:42:54 --> Security Class Initialized
DEBUG-09:42:54 --> Input Class Initialized
DEBUG-09:42:54 --> XSS Filtering completed
DEBUG-09:42:54 --> Global POST and COOKIE data sanitized
DEBUG-09:42:54 --> Language Class Initialized
DEBUG-09:42:54 --> Loader Class Initialized
DEBUG-09:42:54 --> Controller Class Initialized
DEBUG-09:42:54 --> Helper loaded: form_helper
DEBUG-09:42:54 --> Form Validation Class Initialized
DEBUG-09:42:54 --> Session Class Initialized
DEBUG-09:42:54 --> Helper loaded: string_helper
DEBUG-09:42:54 --> Encrypt Class Initialized
DEBUG-09:42:54 --> Database Driver Class Initialized
DEBUG-09:42:54 --> Session routines successfully run
DEBUG-09:42:54 --> DX Auth Initialized
DEBUG-09:42:54 --> Session class already loaded. Second attempt ignored.
DEBUG-09:42:54 --> Config file loaded: application/config/dx_auth.php
DEBUG-09:42:54 --> Language file loaded: language/japanese/dx_auth_lang.php
DEBUG-09:42:54 --> Model Class Initialized
DEBUG-09:42:54 --> Model Class Initialized
DEBUG-09:42:54 --> Model Class Initialized
DEBUG-09:42:54 --> utilityies class already loaded. Second attempt ignored.
DEBUG-09:42:54 --> Helper loaded: url_helper
DEBUG-09:42:54 --> Config file loaded: application/config/access_limit.php
ERROR-2012-06-01 09:42:54 --> Severity: Notice --> Undefined variable: message/usr/local/apache2/htdocs/tab/application/views/login. php 44
DEBUG-09:42:54 --> File loaded: application/views/login. php
DEBUG-09:42:54 --> Final output sent to browser
DEBUG-09:42:54 --> Total execution time: 0.0547


------ Solution --------------------
First try to see if this is OK
Http: // IP address/project name/index. php/index/login
Http: // IP address/project name/index. php/login

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.