您的位置:首页 > 其它

检查服务器是否存开启track模式

2015-07-19 01:51 363 查看
curl -v -X TRACE http://www.yourserver.com curl --insecure -v -X TRACE https://www.yourserver.com/
* About to connect() to www.yourserver.com port 80
*   Trying xx.xx.xx.ip ... connected
* Connected to xx.xx.xx.ip (192.168.0.139) port 80
> TRACE / HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: www.yourserver.com
> Accept: */*
>
< HTTP/1.1 405 Not Allowed< Server: nginx< Date: Tue, 15 Oct 2013 02:38:06 GMT< Content-Type: text/html< Content-Length: 166< Connection: close<html><head><title>405 Not Allowed</title></head><body bgcolor="white"><center><h1>405 Not Allowed</h1></center><hr><center>nginx</center></body></html>* Closing connection #0
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: