分享

写回答

发帖

[提问] 开启URL重写后,点链接提示 No input file specified.

回答|共 17 个

yihom

发表于 2011-6-30 09:28:47 | 显示全部楼层

Thank you for contacting Online Support. The reason the first url is not working is cause it is looking for a folder called home.php not a file. then in that folder it is looking for a folder called 4 then photo then 36 which should have the folder 4 followed by another folder called 4 which should actual be the file name as it is at the end or should have the index page in that last folder.

Please let us know if we can assist you in any other way.

这是GD回复我的,请大侠翻译一下

我给他提的问题是这样的
helle,mysite url http://www.kejia.me/home.php/4/photo/36/4/4 is error display (No input file specified.)
this URL
http://www.kejia.me/home.php?h=4&app=photo&photo_id=35&album_id=4&user_id=4 is Right
web host Set up is errors?
can you help me To resolve these errors? thanks
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-30 09:37:06 | 显示全部楼层

回复 11# 的帖子

意思说你的网站目录下不存在相关的目录,所以找不到文件的
回复 支持 反对

使用道具 举报

yihom

发表于 2011-6-30 09:44:07 | 显示全部楼层

嗯,肯定是没有那些目录的,是通过程序来将这些虚拟的目录(home.php/4/photo/36/4/4 )解析成相应的实际链接(home.php?h=4&app=photo&photo_id=35&album_id=4&user_id=4)去获取内容的,以前在IX WebHosting的时候就可以获取,转到GD就不行了,不知道GD有什么限制或者需要开启某些功能?
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-30 09:55:16 | 显示全部楼层

回复 13# 的帖子

虚拟目录估计不行
回复 支持 反对

使用道具 举报

yihom

发表于 2011-6-30 10:28:02 | 显示全部楼层

为什么IX WebHosting的空间可以呢,而GD的不行呢,是GD限制了什么函数吗
shopex也是用这个功能的呀
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-30 10:37:38 | 显示全部楼层

回复 15# 的帖子

那你联系客服问问具体原因吧,可能是有些函数没有开启,看看godaddy能否开启
回复 支持 反对

使用道具 举报

yihom

发表于 2011-6-30 14:24:12 | 显示全部楼层

大侠帮忙翻译一下这个谢谢,

I understand you have a question regarding support for PATH_INFO on our Linux hosting accounts. Our Linux hosting accounts run in CGI mode. When PHP 5 runs in this mode, the server variable element PATH_INFO behaves differently than under PHP 4. PHP 5 scripts can use the element SCRIPT_NAME in place of PATH_INFO to ensure the expected value is returned.

If this response did not correctly address your inquiry, please provide additional details as to what you are trying to do. Include any errors you are receiving as well as the necessary steps taken to replicate and we will be happy to assist you further.
RAKSmart
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-30 14:30:54 | 显示全部楼层

godaddy的linux主机使用的是CGI模块,运行的是php5.ini,如果你的问题没有解决,请你提供更详细的错误信息,包括一些具体的错误内容,复制给他们,他们会协助你解决的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则