I saw this interesting request show up in my log file:

2005-08-28 20:11:08 RequestDumperValve[catalina]: REQUEST URI       
=/cgi-bin/jud.cgi
2005-08-28 20:11:08 RequestDumperValve[catalina]:           authType=null
2005-08-28 20:11:08 RequestDumperValve[catalina]:  characterEncoding=null
2005-08-28 20:11:08 RequestDumperValve[catalina]:      contentLength=-1
2005-08-28 20:11:08 RequestDumperValve[catalina]:        contentType=null
2005-08-28 20:11:08 RequestDumperValve[catalina]:        contextPath=
2005-08-28 20:11:08 RequestDumperValve[catalina]:             
header=host=www.worldandsearch.com
2005-08-28 20:11:08 RequestDumperValve[catalina]:             header=accept=*/*
2005-08-28 20:11:08 RequestDumperValve[catalina]:             
header=pragma=no-cache
2005-08-28 20:11:08 RequestDumperValve[catalina]:             
header=user-agent=Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
2005-08-28 20:11:08 RequestDumperValve[catalina]:             locale=en_US
2005-08-28 20:11:08 RequestDumperValve[catalina]:             method=GET
2005-08-28 20:11:08 RequestDumperValve[catalina]:           pathInfo=null
2005-08-28 20:11:08 RequestDumperValve[catalina]:           protocol=HTTP/1.1
2005-08-28 20:11:08 RequestDumperValve[catalina]:        queryString=null
2005-08-28 20:11:08 RequestDumperValve[catalina]:         
remoteAddr=61.221.32.114
2005-08-28 20:11:08 RequestDumperValve[catalina]:         
remoteHost=61.221.32.114
2005-08-28 20:11:08 RequestDumperValve[catalina]:         remoteUser=null
2005-08-28 20:11:08 RequestDumperValve[catalina]: requestedSessionId=null
2005-08-28 20:11:08 RequestDumperValve[catalina]:             scheme=http
2005-08-28 20:11:08 RequestDumperValve[catalina]:         
serverName=www.worldandsearch.com
2005-08-28 20:11:08 RequestDumperValve[catalina]:         serverPort=80
2005-08-28 20:11:08 RequestDumperValve[catalina]:        
servletPath=/cgi-bin/jud.cgi
2005-08-28 20:11:08 RequestDumperValve[catalina]:           isSecure=false
==================================================================

And then there's nothing noting what the response was, which should have been a 
404 since I've no such host defined.  I've got a valve defined that will 
intercept requests for a host not defined in server.xml and send back a 404 
response instead of allowing the request to flow to the default host for the 
engine.



Under what conditions will Tomcat (5.0.19) not send (or log) any response?



Reply via email to