Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 8211 invoked from network); 25 Jul 2003 17:15:59 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Jul 2003 17:15:59 -0000 Received: (qmail 29663 invoked by uid 97); 25 Jul 2003 17:18:35 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 29656 invoked from network); 25 Jul 2003 17:18:35 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 25 Jul 2003 17:18:35 -0000 Received: (qmail 6796 invoked by uid 500); 25 Jul 2003 17:15:43 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 6781 invoked from network); 25 Jul 2003 17:15:42 -0000 Received: from mail7.speakeasy.net (HELO mail.speakeasy.net) (216.254.0.207) by daedalus.apache.org with SMTP; 25 Jul 2003 17:15:42 -0000 Received: (qmail 27850 invoked by uid 64014); 25 Jul 2003 17:15:46 -0000 Received: from nrward@cox.net by mail7.speakeasy.net with AmikaGuardian-Server-2.0.0 (Processed in 0.21907 secs); 25 Jul 2003 17:15:46 -0000 X-AmikaGuardian-Id: mail7.speakeasy.net105915334623627839 X-AmikaGuardian-Category: AN:Urgency : 0.05 X-AmikaGuardian-Category: AN:Vectored : 2.2 X-AmikaGuardian-Category: AN:Spam Language : 0.05 X-AmikaGuardian-Category: AN:Forwarded Mail : 2.2 X-AmikaGuardian-Category: AN:Override : 2.2 X-AmikaGuardian-Category: AN:Junk Mail : 0.05 X-AmikaGuardian-Category: AN:Exception : 2.2 X-AmikaGuardian-Category: AN:Spam : 0.05 X-AmikaGuardian-Action: Do Nothing() Received: from unknown (HELO nwardlt) (nward@resqsoft.com@[66.95.84.62]) (envelope-sender ) by mail7.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 Jul 2003 17:15:46 -0000 Message-ID: <00db01c352cf$e0b19c30$b701a8c0@nwardlt> From: "Nathan Ward" To: "Tomcat Users List" References: <008a01c3525b$1a132630$b701a8c0@nwardlt> <3F212500.5000501@johnturner.com> <009701c352b0$dcf41010$b701a8c0@nwardlt> <3F2133D8.1010903@johnturner.com> <00a501c352ba$6da461b0$b701a8c0@nwardlt> <3F214308.8040501@johnturner.com> <00ad01c352c2$bcfe2090$b701a8c0@nwardlt> <3F2152EB.2080603@johnturner.com> <00b401c352cf$0244ff50$b701a8c0@nwardlt> Subject: Re: Logfile for isapi_redirector2.dll? Date: Fri, 25 Jul 2003 13:12:06 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Just to be clear for others who may read this, here's an example of the uriworkermap.properties file that works for me: www.website1.com/rms-jobs/*=ajp13Worker www.website2.biz/rms/*=ajp13Worker What I had before that didn't control access as required was: /rms-jobs/*=ajp13Worker /rms/*=ajp13Worker Nathan ----- Original Message ----- From: "Nathan Ward" To: "Tomcat Users List" Sent: Friday, July 25, 2003 1:05 PM Subject: Re: Logfile for isapi_redirector2.dll? > Shit! You're right!!! All the examples of uriworkermap.properties that I had > seen had a relative path specified including the 3 books I looked at. It > never occurred to me to specify the full url until your example. I just > tried it that way and it works! Boy, do I feel stupid. > > You said the example is for jk2. Doesn't JK2 use workers2.properties instead > of uirworkermap.properties and workers.properties? I'm using jk. I tried > jk2, but didn't get it to work. jk is working fine for now. > > Back to the original question of why didn't I get more responses about this. > Maybe indicating isapi/iis in the subject was too limiting. Maybe I should > have said something about "controlling access to webapps from multiple > virtual hosts." > > Nathan > > ----- Original Message ----- > From: "John Turner" > To: "Tomcat Users List" > Sent: Friday, July 25, 2003 11:55 AM > Subject: Re: Logfile for isapi_redirector2.dll? > > > > > > I guess I misunderstood what uriworkermap.properties was doing....I was > > under the impression that was where you mapped URIs to specific workers. > > > > In JK2 (mod_jk2.so), it might look something like: > > > > [uri:www.hostA.com/appA/*.jsp] > > > > There's no counterpart to that in an IIS + Tomcat configuration? I find > > that surprising. > > > > John > > > > Nathan Ward wrote: > > > > > Sure, but that specifies the machine where Tomcat is running. I could > > > specify different hosts for different workers if I want multiple > instances > > > of Tomcat running on different machines. I have one instance of Tomcat > on > > > one machine and one instance of IIS on another. However, two virtual > > > hosts/web sites under IIS each of which need access to one and only one > > > webapp on the single Tomcat instance. > > > > > > Nathan > > > > > > ----- Original Message ----- > > > From: "John Turner" > > > To: "Tomcat Users List" > > > Sent: Friday, July 25, 2003 10:47 AM > > > Subject: Re: Logfile for isapi_redirector2.dll? > > > > > > > > > > > >>uriworkermap.properties doesn't take a hostname? > > >> > > >>John > > >> > > >>Nathan Ward wrote: > > >> > > >> > > >>>I believe that is the same thing I'm trying to do (did) with IIS and > > > > > > Tomcat. > > > > > >>>I don't believe it is a bug. It is just the way the > isapi_redirector.dll > > > > > > is > > > > > >>>written. Windows registry settings specifies where _the_ > > > > > > workers.properties > > > > > >>>file is located as well as where the uriworkermap.properties is > located. > > >>>Each IIS website is configured in IIS's Management Application to use > > > > > > the > > > > > >>>ISAPI filter (isapi_redirector.dll) and a virtual directory is defined > > > > > > in > > > > > >>>IIS as well under each web site to the directory where the > > >>>isapi_redirector.dll file is located. Since the mapping to webapps is > > >>>controlled by the uriworkermap.properties file and only one can be > > > > > > specified > > > > > >>>in the registry settings, there is no way in IIS or via the ISAPI > filter > > > > > > to > > > > > >>>control the access. > > >>> > > >>>This must not be a common thing at all as you said because I also > > > > > > checked > > > > > >>>three books on Tomcat. Professional Apache Tomcat was the closest to > > > > > > cover > > > > > >>>this at all but none of them specifically addressed this configuration. > > >>>However, my customer wants to have one computer running IIS to be > > > > > > accessible > > > > > >>>to the Internet. So, that is what I have make it work with this > > >>>configuration. > > >>> > > >>> Nathan > > >>> > > >> > > >> > > >> > > >>--------------------------------------------------------------------- > > >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > >> > > >> > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org