sdhgf 发表于 2015-7-20 09:14:32

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

curl -v -X TRACE http://www.yourserver.comcurl --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
页: [1]
查看完整版本: 检查服务器是否存开启track模式