Try using wild cards to limit what JkMount sends to TC (ie: *.jsp instead of *) and then use an alias in httpd.conf to your web app's directory. You'll have to use a <Directory> config setting to deny all from accessing WEB-INF.
Goes something like (in httpd.conf): # Send all requests for .jsp files to TC JkMount /examples/*.jsp ajp13 # Alias and set permission on requesting static content from the webapp Alias /examples [your path to webapps]/examples <Directory [your path to webapps]/examples/WEB-INF> Order Allow,Deny Deny from All </Directory> --David On Tuesday 04 December 2001 09:09 pm, you wrote: > hi. > I'm trying to my images in apache instead of Tomcat. Is it possible in this > setting(tomcat4.01/apache1.3.22/win2k). Coz the loading time foe my > pictures is very slow > > Lousai.Co > > > > ----Original Message Follows---- > From: Mike Kelley <[EMAIL PROTECTED]> > Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Subject: RE: Apache & Tomcat 4.0.1 > Date: Tue, 4 Dec 2001 15:14:50 -0700 > > David, > > How do you work an html page that references jsp? > > I started using mod_jk today ... I would like to see the > /examples/jsp/index.html page but it will not load? > > -----Original Message----- > From: David Smith [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 04, 2001 3:19 PM > To: Tomcat Users List > Subject: Re: Apache & Tomcat 4.0.1 > > > I honestly don't know if mod_webapp has better performance. Mod_jk has > been > > around longer has has more maturity as a connector (plus the ability to > leave > static content to Apache). I've used both and never had a complaint. > > --David > > On Tuesday 04 December 2001 01:33 pm, you wrote: > > Thanks! This is good to know. One thing to consider, is the the > > web_apps module uses the the warp connector, which is suppose to have > > better performance. I have not done any benchmarking, or read about > > any. I just going off of the documentation that I have read. > > > > David Smith wrote: > > > Yes, mod_jk does work with TC 4.0.1. I would download the binary > > > for TC 3.3 and use the mod_jk in that dist. The docs that come with > > > TC 3.3 don't really apply to TC 4.0.1 though. Instead, check the > > > server.xml in TC 4.0.1 for instructions around the entry for the AJP > > > 13 connector. The Apache httpd.conf directives are the same though. > > > > > > --David > > > > > > On Tuesday 04 December 2001 12:45 pm, you wrote: > > > > Can you not use mod_jk with Tomcat 4.0.1? > > > > > > > > -----Original Message----- > > > > From: Denny Chambers [mailto:[EMAIL PROTECTED]] > > > > Sent: Tuesday, December 04, 2001 12:16 PM > > > > To: Tomcat Users List > > > > Subject: Re: Apache & Tomcat 4.0.1 > > > > > > > > > > > > For Tomcat 4.0 you need mod_webapp.so > > > > > > > > Markus Baertschi wrote: > > > > > Hello, > > > > > > > > > > I've got an application, actually running on a standalone tomcat > > > > > 3.2.4 > > > > > > > > server > > > > > > > > > which I want to put in production with tomcat 4.0.1 and apache > > > > > 1.3.22. I > > > > > > > > am on > > > > > > > > > AIX 4.3 and use the IBM binary apache distribution ('IBM http > > > > > server'). > > > > > > > > > > I've studied the tomcat-apache howto and concluded I need > > > > > mod_jk. My > > > > > > > > apache binary > > > > > > > > > has DSO and I think it has EAPI as well (it supports ssl). But > > > > > further-on > > > > > > > > it looks > > > > > > > > > like the HOWTO is (no longer ?) correct: > > > > > > > > > > The howto states that mod_jk sources are found in the binary > > > > > distribution > > > > > > > > of tomcat > > > > > > > > > in $TOMCAT_HOME/native/mod_jk/apache1.3. but in the tomcat 4.0.1 > > > > > > > > distributions > > > > > > > > > (bin & source) there is no mod_jk. > > > > > > > > > > - Should I just take the mod_jk which came with tomcat 3.2.4 ? > > > > > - Is there a better solution for tomcat 4.0.1 and apache 1.3.x ? > > > > > - Who should I contact to update the HOWTO ? > > > > > > > > > > Thanks Markus > > > > > > > > > > -- > > > > > Markus Baertschi Phone: ++41 (21) 807 1677 > > > > > Bas du Rossé 12 Fax : ++41 (21) 807 1678 > > > > > CH-1163, Etoy Email: [EMAIL PROTECTED] > > > > > Switzerland Homepage: www.markus.org > > > > > > > > > > -- > > > > > To unsubscribe: > > <mailto:[EMAIL PROTECTED]> > > > > > > For additional commands: > > > > > <mailto:[EMAIL PROTECTED]> > > > > > Troubles with the list: > > <mailto:[EMAIL PROTECTED]> > > > > > -- > > > > Denny Chambers > > > > Quantum Corporation, Inc. > > > > Network Attached Storage Division > > > > Java Linux Engineer > > > > Phone: 334-478-5730 > > > > IM: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > > > To unsubscribe: > > > > <mailto:[EMAIL PROTECTED]> For additional > > > > commands: > > > > <mailto:[EMAIL PROTECTED]> > > > > Troubles with the list: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > > For additional commands: > > > <mailto:[EMAIL PROTECTED]> > > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>