错误403:禁止

时间:2016-02-21 01:14:42

标签: linux http centos wget

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

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禁止   2016-02-21 02:04:51错误403:禁止。

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

我如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我的结果:

    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