Interesting... http://issues.apache.org/bugzilla/show_bug.cgi?id=14017
Don't know if it will help... -e On Mon, 7 Jul 2003, Eric J. Pinnell wrote: > Hmm... well ya got me. I'm not a pro with Vhosts in tomcat. I use one > apache and one tomcat per application/site. JK2 is getting confused on > the URI for some reason. My systems don't have the hostname in the URI > since it doesn't need to see any differences in a Vhost. > > But, like I said I'm not and expert at Vhosts, so that might or might not > make a difference. > > -e > > On Mon, 7 Jul 2003, Catalin Constantin wrote: > > > nope ! > > now when i remove the url (www.mysite.com) > > it mapps each /images on all virtualhosts i have to the Tomcat /images thing > > ! > > > > pretty weird i think ! > > > > > > Catalin Constantin > > Bounce Software > > www.bounce-software.com > > > > > > > > > > -----Original Message----- > > > From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] > > > Sent: Monday, July 07, 2003 5:50 PM > > > To: Tomcat Users List > > > > > > Hi, > > > > > > Try removing the hostname from the URI. So > > > > > > [uri:www.mysite.com/*.jsp] > > > > > > would just be > > > > > > [uri:/*.jsp] > > > and > > > [uri:/do/*] > > > > > > and so on and so forth. > > > > > > -e > > > > > > On Mon, 7 Jul 2003, Catalin Constantin wrote: > > > > > > > nope ! > > > > it is the same thing ! > > > > > > > > anyway i am sure that it reads the correct file cause > > > > if i remove the *.jsp line then the jsp files are printed (source). > > > > > > > > so it must be something else ! > > > > > > > > any clue ? > > > > > > > > Catalin Constantin > > > > Bounce Software > > > > www.bounce-software.com > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] > > > > > Sent: Monday, July 07, 2003 5:36 PM > > > > > To: Tomcat Users List > > > > > > > > > > I don't know if this will work but try adding > > > > > > > > > > JkSet config.file /path/to/workers2.properties > > > > > > > > > > just under the LoadModule. That way you know for sure it's > > > > > reading the > > > > > file you want. > > > > > > > > > > -e > > > > > > > > > > On Mon, 7 Jul 2003, Catalin Constantin wrote: > > > > > > > > > > > in my httpd.conf i have > > > > > > LoadModule jk2_module modules/mod_jk2.so > > > > > > > > > > > > <VirtualHost some.ip:80> > > > > > > DocumentRoot /nethosting/mysite.com/jsp/ROOT > > > > > > ServerName www.mysite.com > > > > > > ServerAdmin [EMAIL PROTECTED] > > > > > > ServerPath /nethosting/mysite.com/jsp/ROOTs > > > > > > CustomLog /var/log/httpd/mysite.com/access.log combined > > > > > > ErrorLog /var/log/httpd/mysite.com/error.log > > > > > > </VirtualHost> > > > > > > > > > > > > so basically nothing that has to do with jk2 in my > > > httpd.conf file ! > > > > > > > > > > > > below is a full listing of my workers2.properties file > > > > > > > > > > > > --- begin ---- > > > > > > [logger] > > > > > > level=DEBUG > > > > > > > > > > > > # Define the comunication channel > > > > > > #[channel.jni:jni] > > > > > > #info=The jni channel, used if tomcat is started inprocess > > > > > > > > > > > > [shm] > > > > > > file=/var/log/httpd/shm.file > > > > > > size=1048576 > > > > > > > > > > > > # Define the parameters for the Java Virtual Machine > > > > > > #[vm:] > > > > > > #info=Parameters used to load a JVM in the server process > > > > > > > > > > > #OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOM > > > > > CAT_HOME}/serv > > > > > > er/lib/catalina.jar > > > > > > #OPT=-Dtomcat.home=${TOMCAT_HOME} > > > > > > #OPT=-Dcatalina.home=${TOMCAT_HOME} > > > > > > #OPT=-Xmx128M > > > > > > > > > > > > # JNI worker startup handler > > > > > > #[worker.jni:onStartup] > > > > > > #info=Command to be executed by the VM on startup. This one > > > > > will start > > > > > > tomcat. > > > > > > #class=org/apache/jk/apr/TomcatStarter > > > > > > #ARG=start > > > > > > #stdout=/var/log/httpd/stdout.log > > > > > > #stderr=/var/log/httpd/stderr.log > > > > > > > > > > > > # JNI worker shutdown handler > > > > > > #[worker.jni:onShutdown] > > > > > > #info=Command to be executed by the VM on shutdown. This > > > > > one will stop > > > > > > tomcat. > > > > > > #class=org/apache/jk/apr/TomcatStarter > > > > > > #ARG=stop > > > > > > > > > > > > # Example socket channel, override port and host. > > > > > > [channel.socket:localhost:8009] > > > > > > port=8009 > > > > > > host=127.0.0.1 > > > > > > > > > > > > [ajp13:localhost:8009] > > > > > > channel=channel.socket:localhost:8009 > > > > > > > > > > > > # ksi webapp configuration (virtualhost) > > > > > > [uri:www.mysite.com/*.jsp] > > > > > > info=Map .jsp files > > > > > > > > > > > > [uri:www.mysite.com/do/*] > > > > > > info=Map do actions > > > > > > > > > > > > [uri:www.mysite.com/manager/*] > > > > > > info=Map the manager webapp > > > > > > --- end ---- > > > > > > > > > > > > i am using apache 2.0.46 > > > > > > and tomcat 4.1 > > > > > > > > > > > > thanx again ! > > > > > > > > > > > > Catalin Constantin > > > > > > Bounce Software > > > > > > www.bounce-software.com > > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Eric J. Pinnell [mailto:[EMAIL PROTECTED] > > > > > > > Sent: Monday, July 07, 2003 5:27 PM > > > > > > > To: Tomcat Users List > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > What is your httpd.conf entry? Your workers2.properties > > > > > > > files looks ok. > > > > > > > You include things you want Tomcat to do rather than exclude > > > > > > > things. You > > > > > > > are not including /images so apache should handle > > > those requests. > > > > > > > > > > > > > > -e > > > > > > > > > > > > > > On Mon, 7 Jul 2003, Catalin Constantin wrote: > > > > > > > > > > > > > > > hi there > > > > > > > > > > > > > > > > i have in my workers2.properties > > > > > > > > the following uri mappings: > > > > > > > > > > > > > > > > [uri:www.mysite.com/*.jsp] > > > > > > > > info=Map .jsp files > > > > > > > > > > > > > > > > [uri:www.mysite.com/do/*] > > > > > > > > info=Map do actions > > > > > > > > > > > > > > > > [uri:www.mysite.com/manager/*] > > > > > > > > info=Map the manager webapp > > > > > > > > > > > > > > > > why does tomcat handle the requests to > > > > > > > > http://www.mysite.com/images ? > > > > > > > > (eg: i see the tomcat directory listing, instead of the > > > > > > > Apache 2.0.46 > > > > > > > > forbidden error) > > > > > > > > > > > > > > > > thank you ! > > > > > > > > > > > > > > > > > > > > > > > > Catalin Constantin > > > > > > > > Bounce Software > > > > > > > > www.bounce-software.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]