<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Apache + SSL + Tomcat: Deny HTTP TRACE requests in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405737#M860640</link>
    <description>Here are the access_log contents:&lt;BR /&gt;&lt;BR /&gt;Using "apachectl start", TRACE enabled -&amp;gt; request is accepted&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:33:40 -0700] "TRACE / HTTP/1.1" 200 340&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:34:05 -0700] "TRACE /webapp HTTP/1.1" 200 344&lt;BR /&gt;&lt;BR /&gt;Using "apachectl start", TRACE disabled -&amp;gt; request is denied&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:34:34 -0700] "TRACE /webapp HTTP/1.1" 403 330&lt;BR /&gt;&lt;BR /&gt;Using "apachectl startssl", TRACE disabled -&amp;gt; request is ACCEPTED!?&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:35:27 -0700] "TRACE /webapp HTTP/1.1" 200 344&lt;BR /&gt;&lt;BR /&gt;The same configuration works in our Linux box, running RedHat 9. Its only in the HP-UX 11i machine that its not.</description>
    <pubDate>Tue, 26 Oct 2004 20:48:58 GMT</pubDate>
    <dc:creator>Marlon_8</dc:creator>
    <dc:date>2004-10-26T20:48:58Z</dc:date>
    <item>
      <title>Apache + SSL + Tomcat: Deny HTTP TRACE requests</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405734#M860637</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;I have configured an Apache + SSL + Tomcat system. Applying the countermeasures suggested from the web regarding how to disable HTTP Trace requests, I have successfully done so and tested against sites served by Apache. When Trace requests are received for sites managed by Apache, they are denied, error code 403.&lt;BR /&gt;&lt;BR /&gt;The problem is for sites served by Tomcat, the TRACE request is not being denied. The request is handled and response is generated, HTTP headers are looped back to the client. The intent is to block TRACE requests and return error "403 Forbidden" even for sites handled by Tomcat. &lt;BR /&gt;&lt;BR /&gt;Has anyone found a way to block/disable/deny TRACE requests from Tomcat?&lt;BR /&gt;&lt;BR /&gt;Thanks for any help or lead you can share with me!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Oct 2004 05:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405734#M860637</guid>
      <dc:creator>Marlon_8</dc:creator>
      <dc:date>2004-10-22T05:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Apache + SSL + Tomcat: Deny HTTP TRACE requests</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405735#M860638</link>
      <description>Hello again!&lt;BR /&gt;&lt;BR /&gt;Some additional info:&lt;BR /&gt;The behavior mentioned above does not occur when Apache is started using "apachectl start". It only happens during "apachectl startssl".&lt;BR /&gt;&lt;BR /&gt;Both httpd.conf and ssl.conf contain the Rewrite rules for rejecting Trace:&lt;BR /&gt;  RewriteEngine On&lt;BR /&gt;  RewriteCond %{REQUEST_METHOD} ^TRACE&lt;BR /&gt;  RewriteRule .8 - [F]&lt;BR /&gt;&lt;BR /&gt;Examples:&lt;BR /&gt;When Apache started without SSL&lt;BR /&gt;http://server -&amp;gt; Trace denied&lt;BR /&gt;http://server/webapp -&amp;gt; Denied&lt;BR /&gt;&lt;BR /&gt;When Apache is started with SSL&lt;BR /&gt;http://server -&amp;gt; Denied&lt;BR /&gt;https://server -&amp;gt; Denied&lt;BR /&gt;http://server/webapp -&amp;gt; Allowed&lt;BR /&gt;https://server/webapp -&amp;gt; Allowed&lt;BR /&gt;&lt;BR /&gt;I am using the following JavaScript to test whether if Trace is rejected or not:&lt;BR /&gt;function sendTrace()&lt;BR /&gt;{ &lt;BR /&gt;   var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); &lt;BR /&gt;   xmlHttp.open("TRACE", "https://crane/manager",false);&lt;BR /&gt;   xmlHttp.send(); &lt;BR /&gt;   xmlDoc=xmlHttp.responseText; &lt;BR /&gt;   alert(xmlDoc); &lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;ENVIRONMENT:&lt;BR /&gt;HP-UX 11i&lt;BR /&gt;Apache 2.0.52&lt;BR /&gt;Tomcat 4.1.29_04&lt;BR /&gt;mod_jk2 2.0.3-dev or mod_jk 1.2.3-dev&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any assistance!</description>
      <pubDate>Mon, 25 Oct 2004 22:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405735#M860638</guid>
      <dc:creator>Marlon_8</dc:creator>
      <dc:date>2004-10-25T22:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apache + SSL + Tomcat: Deny HTTP TRACE requests</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405736#M860639</link>
      <description>Same actual response from Tomcat, different text message.&lt;BR /&gt;&lt;BR /&gt;Do you see anything in the the access_log that indicates the Trace was successful?&lt;BR /&gt;&lt;BR /&gt;I think you have things locked down in this area.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 25 Oct 2004 23:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405736#M860639</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-10-25T23:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Apache + SSL + Tomcat: Deny HTTP TRACE requests</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405737#M860640</link>
      <description>Here are the access_log contents:&lt;BR /&gt;&lt;BR /&gt;Using "apachectl start", TRACE enabled -&amp;gt; request is accepted&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:33:40 -0700] "TRACE / HTTP/1.1" 200 340&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:34:05 -0700] "TRACE /webapp HTTP/1.1" 200 344&lt;BR /&gt;&lt;BR /&gt;Using "apachectl start", TRACE disabled -&amp;gt; request is denied&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:34:34 -0700] "TRACE /webapp HTTP/1.1" 403 330&lt;BR /&gt;&lt;BR /&gt;Using "apachectl startssl", TRACE disabled -&amp;gt; request is ACCEPTED!?&lt;BR /&gt;HOST IP - - [27/Oct/2004:10:35:27 -0700] "TRACE /webapp HTTP/1.1" 200 344&lt;BR /&gt;&lt;BR /&gt;The same configuration works in our Linux box, running RedHat 9. Its only in the HP-UX 11i machine that its not.</description>
      <pubDate>Tue, 26 Oct 2004 20:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-ssl-tomcat-deny-http-trace-requests/m-p/3405737#M860640</guid>
      <dc:creator>Marlon_8</dc:creator>
      <dc:date>2004-10-26T20:48:58Z</dc:date>
    </item>
  </channel>
</rss>

