> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 12, 2001 8:47 AM
> To: [EMAIL PROTECTED]
> Subject: PLEASE HELP patching tomcat3.3
> 
> 
> hi,
>  
> can anyone help me finding the source files (tomcat3.3), where
> 1. the "Host:"-header of a request is parsed

HttpRequest.parseHostHeader() found in 
"src/share/org/apache/tomcat/modules/server/Http10Interceptor.java"


> 2. an automated "302 Found"-redirect is written, when 
> accessing a directory and you are being redirected to "index.html"

This is handed in
"src/share/org/apache/tomcat/modules/generators/ErrorHandler.java.
The RedirectHandler class is an "internal servlet" that generates
the output.  The ErrorHandler.contextInit() methods adds this
handler as the Status 302 handler to each context if it has not
been specified by the web.xml.

Hope this helps.

Cheers,
Larry


>  
> I hope I can do the patches myself, but I can't find the right files!
>  
> any help appreciated
> thanks
> michi
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to