794401939 发表于 2011-8-7 23:28:04

写好的采集规则本地可以发布成功,但是在虚拟主机中就不能发布成功啊,怎么办呢?

写好的采集规则本地可以发布成功,但是在虚拟主机中就不能发布成功啊,怎么办呢?
我本地测试能能够发布,
但是把程序传上空间里,就不能发布成功了,请问如何解决呢?难道空间也能限制发布吗?
我用的西部数码CDN空间www.zchyc.com 大家帮忙看下,谢谢了

272070210 发表于 2011-8-8 13:06:15

按理说本地可以。空间也一样可以的。是不是哪里没有设置正确。

wxl08 发表于 2011-8-8 14:42:02

发布提示什么错误信息,检查下是否是登陆的cookie失效,或者是全局设置里哪里设置不正确

794401939 发表于 2011-8-8 15:50:13

回复 3# wxl08

这是错误日志,帮忙解读一下,谢了
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to process the request:
<PRE>
POST /admin/api/locoyspider.php HTTP/1.1
Accept: */*
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6; .NET CLR 2.0.50727; CIBA)
Referer: http://www.zchyc.com/admin/api/locoyspider.php
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Host: www.zchyc.com
Cookie: PHPSESSID=uvejveeaurrgfnfhgf5cmavjs1
Content-Length: 3626
Expect: 100-continue
Connection: Keep-Alive

</PRE>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Invalid Request
</STRONG>
</UL>

<P>
Some aspect of the HTTP Request is invalid.Possible problems:
<UL>
<LI>Missing or unknown request method
<LI>Missing URL
<LI>Missing HTTP Identifier (HTTP/1.0)
<LI>Request is too large
<LI>Content-Length missing for POST or PUT requests
<LI>Illegal character in hostname; underscores are not allowed
</UL>
<P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>.

<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Sun, 07 Aug 2011 01:03:28 GMT by 44b6a5dffc1976c (squid/2.7.STABLE8)
</ADDRESS>
</BODY></HTML>

794401939 发表于 2011-8-8 15:51:07

回复 2# 272070210


    真不知道到底应该还设置哪里呀?我把线程调到1了都不行,

fireye 发表于 2011-8-9 11:41:55

问题在这里,Some aspect of the HTTP Request is invalid.Possible problems:
<UL>
<LI>Missing or unknown request method
<LI>Missing URL
<LI>Missing HTTP Identifier (HTTP/1.0)
<LI>Request is too large
<LI>Content-Length missing for POST or PUT requests
<LI>Illegal character in hostname; underscores are not allowed
</UL>
<P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>.

fireye 发表于 2011-8-9 11:42:24

你的空间问题,限制采集了。什么破空间这是。。。。

kang3bao 发表于 2011-8-13 14:28:57

那你就在本机发布呗    有些主机是会限制
页: [1]
查看完整版本: 写好的采集规则本地可以发布成功,但是在虚拟主机中就不能发布成功啊,怎么办呢?