在LINUX下出现 404 Page Not Found The page you requested was not found.
:lol我又有问题了系统放在window 是可以在在linux 下 不行
假设“sss”为程序文件夹
错误为
404 Page Not Found
The page you requested was not found.
在logs里面的
DEBUG - 2010-01-30 23:52:21 --> Config Class Initialized
DEBUG - 2010-01-30 23:52:21 --> Hooks Class Initialized
DEBUG - 2010-01-30 23:52:21 --> URI Class Initialized
ERROR - 2010-01-30 23:52:21 --> 404 Page Not Found --> sss
直接访问下面的路径
http://xxx.net/sss/index.php/logins
显示
No input file specified.
附加php。ini
register_globals = off
allow_url_fopen = off
expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so :dizzy: 好像LINUX下 可能是与大小写有关 一般来说就是大小写问题。请根据文档严格执行大小写规定,千万不要用自己的想法强加给 CI。 楼上说的大小写的问题,具体是在哪个文件里的呢?困惑中,我的项目在本地(mac+nginx)一切运行ok,当放到服务器上(linux+nginx),域名解析后,网页就
404 Page Not Found
The page you requested was not found.
查看项目的log 和楼主显示一样
DEBUG - 2013-05-16 09:02:07 --> Config Class Initialized
DEBUG - 2013-05-16 09:02:07 --> Hooks Class Initialized
DEBUG - 2013-05-16 09:02:07 --> Utf8 Class Initialized
DEBUG - 2013-05-16 09:02:07 --> UTF-8 Support Enabled
DEBUG - 2013-05-16 09:02:07 --> URI Class Initialized
DEBUG - 2013-05-16 09:02:07 --> Router Class Initialized
ERROR - 2013-05-16 09:02:07 --> 404 Page Not Found --> adminlogin
已经折腾了好久了 ,从显示 No input file specified. 改了nginx里的 ***.conf(已解决)
现在就停留在404了 解决了 是项目里面 controllers文件夹下面的php文件名必须小写 因为这个404耽误一两天啊…… 我的情况是controller下面一大堆大写的,和一个小写的。我把小写那个改成大写的就行了。 控制器类第一个字母大写。养成好习惯。
页:
[1]