1
ijse 2013-07-13 11:18:47 +08:00
传到哪儿了? 默认可以放到webapps下, 或者在server.xml里配置
|
4
NexEase OP @ijse 对,浏览器可正常访问,但curl -I 却403 错误,访问日志里面提示"HEAD / HTTP/1.1" 403 -,难道是禁止了HEAD方法?
|
5
altchen 2013-07-13 11:33:40 +08:00 via iPhone
应用自身加了判断useragent?
|
6
NexEase OP @altchen 加了useragent参数还是同样错误,
curl -i --user-agent "[Mozilla/5.0 ( iPhone ; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7]" localhost HTTP/1.1 403 Forbidden Server: Apache-Coyote/1.1 Cache-Control: private Expires: Thu, 01 Jan 1970 08:00:00 CST Content-Type: text/html;charset=utf-8 Content-Length: 1057 Date: Sat, 13 Jul 2013 03:44:31 GMT |