Thanks, Nathan If I was awake I WOULDN'T have tried to go to your web site but instead would have realized that those weren't links but entries.:-) Who knows what I was thinking?
But thanks for the explanation. It has been interesting following the discussion and has helped clarify a little bit the filtering process. I have my jk2 working right now as it should but it's always such a pain getting it setup that I tend to follow any discussions on it to see what I can learn. Ken -----Original Message----- From: Nathan Ward [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 2:03 PM To: Tomcat Users List Subject: Re: Logfile for isapi_redirector2.dll? Ken, That was an example configuration. I didn't realize that you'd care to go to the actual web sites. Some of the real uri's aren't accessible from the Internet. One of them is though. Go to http://www.usresources.com Click on the "Candidates" link menu item, then click on the OPPORTUNITIES or SUBMIT RESUME links at the bottom of the page. Those two links go to /rms-jobs/<something> which is my webapp running on Tomcat on a different machine. The pages before those links were static HTML files from IIS. Turns out that what I had tried per John's message isn't actually working. What I tried was: www.usresources.com/rms-jobs/*=ajp13Worker in the uriworkermap.properties file I thought that was working, but maybe I didn't restart IIS after making the change. I've since changed the file back to: /rms-jobs/*=ajp13Worker I also have the following in the uriworkermap.properties file: /rms/*=ajp13Worker However, this better not be accessible from www.usresources.com (i.e. http://www.usresources.com/rms/<something>) should never work. It is supposed to be accessed from another web site that isn't actually on the Internet yet because we have to get a SSL certificate from Verisign for it first. So, if I could specify: www.usresources.com/rms-jobs/*=ajp13Worker and www.<another-to-be-determined-domainname>.com/rms/*=ajp13Worker in uriworkermap.properties file I wouldn't need the valve that I created in Tomcat. Let me know if you need more clarification. Nathan ----- Original Message ----- From: "Januski, Ken" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 1:20 PM Subject: RE: Logfile for isapi_redirector2.dll? > Nathan, > > I'd love to see the configuration but these urls don't seem to work. > > P.S. I wasn't thinking clearly when I suggested multiple workers2.properties > files. > > Ken > > -----Original Message----- > From: Nathan Ward [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2003 1:12 PM > To: Tomcat Users List > Subject: Re: Logfile for isapi_redirector2.dll? > > > 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" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > 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" <[EMAIL PROTECTED]> > > > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > > > 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: [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]