Apache traceenable Shutdown and test method

Source: Internet
Author: User
<span id="Label3"></p>System Environment:<br>Os:rhel5.6_x64<br>apache:httpd-2.2.11 shutdown method:<br>To add a configuration in the master profile Httpd.conf:<br>Traceenable off<br>Can be configured directly under the ServerRoot Parameter. Test method:<br>Test by Telnet to a service port on http, as described below (red is the part you want to enter).<br>The Pre-shutdown test will return a $ OK:<br>[email protected] ~]$<span style="color: #f00000;"><span style="color: #f00000;">telnet xxx.xxx.xxx.xxx</span></span><br>Trying xxx.xxx.xxx.xxx ...<br>Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx).<br>Escape character is ' ^] '.<br><span style="color: #f00000;"><span style="color: #f00000;">trace/http/1.0<br>X-TEST:ABCDE</span></span>http/1.1 OK<br>date:wed, 06:49:19 GMT<br>server:apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 dav/2 mod_jk/1.2.28<br>Connection:close<br>content-type:message/httptrace/http/1.0<br>X-test:abcdeconnection closed by foreign Host. After closing, the test returns 405 Method not allowed:<br>[email protected] ~]$<span style="color: #f00000;"><span style="color: #f00000;">telnet xxx.xxx.xxx.xxx 80<br></span></span>Trying xxx.xxx.xxx.xxx ...<br>Connected to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx).<br>Escape character is ' ^] '.<br><span style="color: #f00000;"><span style="color: #f00000;">trace/http/1.0<br>X-TEST:ABCDE</span></span>http/1.1 405 Method not allowed<br>date:wed, 06:50:05 GMT<br>server:apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 dav/2 mod_jk/1.2.28<br>Allow:<br>content-length:223<br>Connection:close<br>content-type:text/html; Charset=iso-8859-1<br>X-pad:avoid browser Bug<br><br><br><br>Method not allowed<br><p><p>The requested method TRACE is not a allowed for the URL/.</p></p><br><br>Connection closed by foreign Host.<p><p>Apache traceenable Shutdown and test method</p></p></span>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.