You get a 404 because the default port for HTTP traffic is 80, and
Apache knows nothing about your web application.  That's why you have
to specify a port - Tomcat, which is running on the port you specify,
does know about the web app.

You've got to setup a mapping in your Apache config (httpd.conf, I
think) that tells apache, for a given path, to pass control to Tomcat.
 There should be some documentation on that available with your mod_jk
implementation.  It's been long enough since I've done this that I
don't remember the exact syntax and such.  The examples I found "back
then" were hard to find.  I like to think they're easier to come by
nowadays.  I know there was a movement to make it easier for folks to
configure this sort of thing ...

Good Luck!

On Mon, 24 Jan 2005 10:11:15 +0530, Kalluru Uma. Maheswar
<[EMAIL PROTECTED]> wrote:
> Hi,
> My server is running Apache HTTP server with Tomcat. My web.xml file is
> configured to support *.do files and all my struts apps works directly
> on Tomcat i.e. using 8080 port.
> 
> But If I request for *.do files through Apache i.e. without giving port
> number, then I get 404 file not found.
> 
> Apache HTTP Mail lists are telling to use mod_jk but this component is
> already installed in the server. And the Admin person is asking to give
> mime types for *.do
> 
> Can some one throw some light on me please? What should I do to make
> *.do work in Apache HTTP Server? Any idea on Handlers would be helpful.
> 
> Thanks
> Uma

-- 
Eddie Bush

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

Reply via email to