- 论坛徽章:
- 0
|
[root@localhost bin]# wget -S --spider http://btn.abc.net/readme.txt |grep head
--17:04:39-- http://btn.abc.net/readme.txt
=> `readme.txt'
Resolving btn.abc.net... 192.168.100.201
Connecting to btn.abc.net[192.168.100.201]:80... connected.
HTTP request sent, awaiting response...
1 HTTP/1.0 200 OK
2 Date: Mon, 29 May 2006 08:40:50 GMT
3 Server: Apache/2.0.55 (Unix)
4 Last-Modified: Mon, 29 May 2006 08:38:26 GMT
5 ETag: "9d5897c-b-3df14480"
6 Accept-Ranges: bytes
7 Content-Length: 11
8 Content-Type: text/plain
9 Age: 106
10 X-Cache: HIT from squid201.abc.net
11 Connection: keep-alive
200 OK
[root@localhost bin]# ./squidclient -p 80 -h 192.168.100.201 http://btn.abc.net/readme.txt
HTTP/1.0 403 Forbidden
Server: squid/2.5.STABLE13
Mime-Version: 1.0
Date: Mon, 29 May 2006 09:07:05 GMT
Content-Type: text/html
Content-Length: 1078
Expires: Mon, 29 May 2006 09:07:05 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from squid201.abc.net
Proxy-Connection: close
谁能告诉我这是为什么啊?是squid哪里没有配置对?
p.s. 测试机器和squid机器不是一台机器。 |
|