It doesn't appear that any file extensions are checked by the CGI 
servlet, and I cannot find any code that explicitly 'allows' or 'denies' 
certain file extensions.

As far as I can tell, the request for "/cgi-bin/whatever.exe" is not 
being handled by the CGIServlet at all. When CGIServlet is invoked, it 
tries to "find" the cgi file, and prints logs so you can tell this is 
happening. A request for an ".exe" file does not cause this log to get 
printed. So this tells me that the request is never getting sent to the 
CGIServlet, even though it matches the /cgi-bin/* pattern, which the 
CGIServlet is supposed to handle.

--jason


Turner, John wrote:

>.exe may not be explicitly excluded as an extension, but are other file
>extensions explicitly included?  Like .sh, .pl, .cgi?
>
>John
>
>  
>
>>-----Original Message-----
>>From: Jason Young [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, September 18, 2002 11:00 AM
>>To: [EMAIL PROTECTED]
>>Subject: Problem invoking CGIs that are EXE files
>>
>>
>>    
>>
>
>...snip...
>
>  
>
>>Are there just some file extensions that Tomcat will not try 
>>to execute? 
>>I looked at the source code, and couldn't find any reference 
>>to ".exe" 
>>files that would exclude them from execution...
>>
>>Thanks for any help or insight into this matter!
>>
>>Jason Young
>>
>>Inet Technologies, Inc.
>>1500 N Greenville Ave
>>Richardson, TX 75081
>>
>>
>>--
>>To unsubscribe, e-mail:   
>>    
>>
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to