【问题标题】:ERROR 403: Forbidden错误 403:禁止
【发布时间】:2016-06-02 13:12:25
【问题描述】:

当我使用我的电脑运行命令的代理时:

wget -U "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36" hmksq.ae

我明白了:

http://hmksq.ae/正在解析hmksq.ae(hmksq.ae)... 104.27.132.131, 104.27.133.131 连接到 hmksq.ae (hmksq.ae)|104.27.132.131|:80... 已连接。 HTTP 请求已发送,等待响应... 403 Forbidden 2016-02-21 02:04:51 错误 403:禁止。

当我尝试执行wget 命令时,服务器是 Centos 7,我知道我使用的是 Windows 10 代理,但我认为它没有任何区别。

我该如何解决这个问题?

【问题讨论】:

  • 命令对我来说似乎工作正常。您应该在发布之前进行更多故障排除。

标签: linux http centos wget


【解决方案1】:

我的结果:

    wget -U "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36" hmksq.ae
--2016-02-20 23:27:20--  http://hmksq.ae/
Resolving hmksq.ae (hmksq.ae)... 104.27.132.131, 104.27.133.131
Connecting to hmksq.ae (hmksq.ae)|104.27.132.131|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://hmksq.ae/ [following]
--2016-02-20 23:27:22--  https://hmksq.ae/
Connecting to hmksq.ae (hmksq.ae)|104.27.132.131|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html

【讨论】:

  • 那么可能是什么问题?如果我在我的网站或其他网站上制作 wget 没有问题。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-02-20
  • 2012-06-17
  • 2011-07-12
相关资源
最近更新 更多