RE: IIS Virtual hosting
It's in CVS. Or wait until RC1 gets built (Don't know when that is happening though). Dave [EMAIL PROTECTED] -Original Message- From: Kar YEOW [mailto:[EMAIL PROTECTED]] Sent: 19 September 2001 04:27 To: [EMAIL PROTECTED] Subject: Re: IIS Virtual hosting where can I get a copy of the patched isapi_redirect.dll? TIA. kar - Original Message - From: "Larry Isaacs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 3:42 AM Subject: RE: IIS Virtual hosting Hi David, Multiple virtual hosts on IIS is something I have not found time to try to do, yet. However, it is something I hope to support in Tomcat 3.3. Tim Whittington has submitted a patch to the isapi_redirect.dll that should be included soon. It adds a feature where the "isapi_redirect" dll queries its actual file name and uses that name to read a ".properties" file from the same directory. If that file exists, those properties are used. If not, it reverts to the old behavior of getting the "properties" file location from the registry. This "properties" file would specify where to get the "uriworkermap" file. This implies that you get multiple isapi_redirector instances, each using different settings, by having multiple copies of the "isapi_redirector" with different names. Each virtual host would use the appropriately named copy. Not elegant, but I'm not sure there is a better way. Cheers, Larry > -Original Message- > From: David Oxley [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 12, 2001 9:40 AM > To: [EMAIL PROTECTED] > Subject: IIS Virtual hosting > > > Hi all, > > I need to set up IIS with each virtual host routing to a > different worker in > Tomcat. Each virtual host has the same web application under it and > therefore must all be the same context. > > i.e. Under Apache I set up the following: > NameVirtualHost 128.100.2.23 > > > ServerName cisweb2k > JkMount /spweb/servlet/* ajp13_1 > > > > ServerName cisweb2k2 > JkMount /spweb/servlet/* ajp13_2 > > > How is the best way to achieve the same configuration with IIS? > I think what I need is to be able to specify the host name in > uriworkermap.properties: > cisweb2k/spweb/servlet/*=ajp13_1 > cisweb2k2/spweb/servlet/*=ajp13_2 > > Thanks. > Dave. >
RE: IIS Virtual hosting
Hola David: > How is the best way to achieve the same configuration with IIS? > I think what I need is to be able to specify the host name in > uriworkermap.properties: > cisweb2k/spweb/servlet/*=ajp13_1 > cisweb2k2/spweb/servlet/*=ajp13_2 :) This syntax sugar for uriworkermap.properties has been added a week ago, in addition to the change named by Larry, so yo can do exactly what you propose right now .. :) The Tomcat 3.3 Version have this capacity, out of the box.. Saludos , Ignacio J. Ortega
Re: IIS Virtual hosting
where can I get a copy of the patched isapi_redirect.dll? TIA. kar - Original Message - From: "Larry Isaacs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 3:42 AM Subject: RE: IIS Virtual hosting Hi David, Multiple virtual hosts on IIS is something I have not found time to try to do, yet. However, it is something I hope to support in Tomcat 3.3. Tim Whittington has submitted a patch to the isapi_redirect.dll that should be included soon. It adds a feature where the "isapi_redirect" dll queries its actual file name and uses that name to read a ".properties" file from the same directory. If that file exists, those properties are used. If not, it reverts to the old behavior of getting the "properties" file location from the registry. This "properties" file would specify where to get the "uriworkermap" file. This implies that you get multiple isapi_redirector instances, each using different settings, by having multiple copies of the "isapi_redirector" with different names. Each virtual host would use the appropriately named copy. Not elegant, but I'm not sure there is a better way. Cheers, Larry > -Original Message- > From: David Oxley [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 12, 2001 9:40 AM > To: [EMAIL PROTECTED] > Subject: IIS Virtual hosting > > > Hi all, > > I need to set up IIS with each virtual host routing to a > different worker in > Tomcat. Each virtual host has the same web application under it and > therefore must all be the same context. > > i.e. Under Apache I set up the following: > NameVirtualHost 128.100.2.23 > > > ServerName cisweb2k > JkMount /spweb/servlet/* ajp13_1 > > > > ServerName cisweb2k2 > JkMount /spweb/servlet/* ajp13_2 > > > How is the best way to achieve the same configuration with IIS? > I think what I need is to be able to specify the host name in > uriworkermap.properties: > cisweb2k/spweb/servlet/*=ajp13_1 > cisweb2k2/spweb/servlet/*=ajp13_2 > > Thanks. > Dave. >
RE: IIS Virtual hosting
Hi David, Multiple virtual hosts on IIS is something I have not found time to try to do, yet. However, it is something I hope to support in Tomcat 3.3. Tim Whittington has submitted a patch to the isapi_redirect.dll that should be included soon. It adds a feature where the "isapi_redirect" dll queries its actual file name and uses that name to read a ".properties" file from the same directory. If that file exists, those properties are used. If not, it reverts to the old behavior of getting the "properties" file location from the registry. This "properties" file would specify where to get the "uriworkermap" file. This implies that you get multiple isapi_redirector instances, each using different settings, by having multiple copies of the "isapi_redirector" with different names. Each virtual host would use the appropriately named copy. Not elegant, but I'm not sure there is a better way. Cheers, Larry > -Original Message- > From: David Oxley [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 12, 2001 9:40 AM > To: [EMAIL PROTECTED] > Subject: IIS Virtual hosting > > > Hi all, > > I need to set up IIS with each virtual host routing to a > different worker in > Tomcat. Each virtual host has the same web application under it and > therefore must all be the same context. > > i.e. Under Apache I set up the following: > NameVirtualHost 128.100.2.23 > > > ServerName cisweb2k > JkMount /spweb/servlet/* ajp13_1 > > > > ServerName cisweb2k2 > JkMount /spweb/servlet/* ajp13_2 > > > How is the best way to achieve the same configuration with IIS? > I think what I need is to be able to specify the host name in > uriworkermap.properties: > cisweb2k/spweb/servlet/*=ajp13_1 > cisweb2k2/spweb/servlet/*=ajp13_2 > > Thanks. > Dave. >
IIS Virtual hosting
Hi all, I need to set up IIS with each virtual host routing to a different worker in Tomcat. Each virtual host has the same web application under it and therefore must all be the same context. i.e. Under Apache I set up the following: NameVirtualHost 128.100.2.23 ServerName cisweb2k JkMount /spweb/servlet/* ajp13_1 ServerName cisweb2k2 JkMount /spweb/servlet/* ajp13_2 How is the best way to achieve the same configuration with IIS? I think what I need is to be able to specify the host name in uriworkermap.properties: cisweb2k/spweb/servlet/*=ajp13_1 cisweb2k2/spweb/servlet/*=ajp13_2 Thanks. Dave.