Hello,
Yes thanks, with adding the vHost Name it works with one exception.=20
I cannot access the Manager App. I get a auth Window, the credentials =
are correct, but I do not get into the Manager App.
Uriworkermap.properties:
/manager=3Dworker1
/manager/*=3Dworker1
/docs=3Dworker1
/*=3Dworker1
/go/*=3Dworker1
/go=3Dworker1
/show/*=3Dworker1
# Mapping all URI which end with a common suffix:
#*.jsp=3Dworker1
##vHosts for Tomcat 7.0.19
/SiteB.xxx.de/*=3Dworker2
/SiteB.xxx.de *=3Dworker2
/SiteB.xxx.de /manager/*=3Dworker2
/SiteB.xxx.de /manager*=3Dworker2
Best regards
Alexander
-----Urspr=C3=BCngliche Nachricht-----
Von: Andr=C3=A9 Warnier [mailto:aw@ice-sa.com]=20
Gesendet: Donnerstag, 11. August 2011 10:30
An: Tomcat Users List
Betreff: Re: AW: Multiple Tomcat Servers connect to IIS
Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Alexander,
>=20
> On 8/10/2011 8:12 AM, Alexander Diedler wrote:
>> my uriworkermap.properties /manager=3Dworker1
>=20
> Mapped /manager
>=20
>> /manager/*=3Dworker1 /docs=3Dworker1 /*=3Dworker1 /go/*=3Dworker1
>> /go=3Dworker1 /show/*=3Dworker1
>>
>> # Mapping all URI which end with a common suffix: *.jsp=3Dworker1
>>
>>
>> /manager=3Dworker2
>=20
> Re-mapped /manager
>=20
> This re-mapping appears to happen for all URIs.
>=20
> I've never worked with IIS -- can you specify a=20
> uriworkermap.properties for each virtual host? I think that's what you =
> want to do, but it looks like you're configured everything in a single =
set of files, here.
>=20
Read the docs...
;-)
It appears that for IIS and isapi_redirect (and differently from =
Apache+mod_jk), there is only one uriworkermap.properties files, being =
used for all the IIS "virtual hosts" (and its single path is in the =
Registry under a single key).
However, in the (single) uriworkermap.properties, there is a way to =
specify the hostname, in addition to the URI being proxied.
So you can actually have things like :
/serverA.company.com/app1/*=3Dtomcat1
/serverB.company.com/app1/*=3Dtomcat2
I never tried it, but according to Alexander it works and solves his =
problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|