Hi all, I'm configuring Tomcat 6.0.10 behind Apache 2.0 using mod_jk 1.2.3. Everything is working beautifully but I want to hide 501 error when malicious user try to access the server. For example:
# telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. alsfjalsfjsdf <html><head><title>Apache Tomcat/6.0.10 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 501 - Method alsfjalsfjsdf is not defined in RFC 2068 and is not supported by the Servlet API </h1><HR size="1" noshade="noshade"><p>type Status report</p><p>message <u>Method alsfjalsfjsdf is not defined in RFC 2068 and is not supported by the Servlet API </u></p><p>description <u>The server does not support the functionality needed to fulfill this request (Method alsfjalsfjsdf is not defined in RFC 2068 and is not supported by the Servlet API ).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.10</h3></body></html>Connection closed by foreign host. I don't want to show the message because it contains Tomcat information as well as revealing the technology I'm using on my website. Any ideas? Thanks. -- View this message in context: http://www.nabble.com/Hide-501-error-message-tf4047399.html#a11496600 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]