tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Januski, Ken" <kjanu...@phillynews.com>
Subject RE: Logfile for isapi_redirector2.dll?
Date Fri, 25 Jul 2003 17:25:07 GMT
Boy I really am not thinking clearly!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks for the info.

-----Original Message-----
From: Januski, Ken [mailto:kjanuski@phillynews.com]
Sent: Friday, July 25, 2003 1:20 PM
To: Tomcat Users List
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:nrward@cox.net]
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" <nrward@cox.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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" <tomcat-user@johnturner.com>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> 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" <tomcat-user@johnturner.com>
> > > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> > > 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message