Thanks John, You were right, I only needed to add localhost in my worker.properties, now it's working.
I'm using Tomcat 4.0.6 with one instance and using worker.properties, uriworkermap.properties and isapi_redirector.dll, just configured the localhost in my worker.properties and everything is now working. I read the FAQ for tomcat 4.1.X and got confused, since I didn't find the worker.properties configuration for tomcat 4.0.X, I followed the 4.1.X one. Thanks a lot John! Regards. Jose Oyervides. -----Original Message----- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 7:50 AM To: Tomcat Users List Subject: Re: worker.properties Hi - Please clarify: do you have multiple Tomcat instances, or just one? The only time you need to put more hosts in workers.properties is if you have MULTIPLE Tomcat instances. If you only have one Tomcat instance, you only need the following in workers.properties: # BEGIN workers.properties # Definition for Ajp13 worker worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 # END workers.properties Note that it is workers.properties, not worker.properties (note the missing "s" in your post...a typo?). Note also that for IIS, you need more than workers.properties...you also need a file called uriworkermap.properties. Workers.properties is not for the purpose of mapping virtual hosts...its only purpose is to tell the connector where to find Tomcat. If you have one Tomcat instance, and a workers.properties file like the one shown above, and you cannot get any host headers except "localhost" to work, your problem is in either or both of 1) defining/mapping virtual hosts on the web server side (IIS: uriworkermap.properties, Apache: JkMount), or 2) defining virtual hosts on the Tomcat side. Even if you have multiple Tomcat instances, I would suggest getting things to work for multiple virtual hosts using one Tomcat instance, then add the other Tomcat instances into the mix. Trying to get multiple Tomcat instances working with multiple virtual hosts all at once could easily become frustrating if you don't take it a step or piece at a time. John On Thu, 19 Jun 2003 17:03:30 -0500, Jose Santiago Oyervides Gonzalez <[EMAIL PROTECTED]> wrote: > Hi, Could anyone tell me what would be the correct configuration in the > worker.properties to allow IIS to redirect to multiple hosts. > > Currently I am using this: (with no success,only for localhost) > worker.properties: > worker.ajp13.type=ajp13 worker.work.type=ajp13 > worker.tomcat_home=D:\Tomcat4 > worker.java_home=C:\j2sdk1.4.0 > ps=\ > worker.list=ajp13,myworker,myworker2 > > worker.ajp13.port=8009 > worker.ajp13.host=localhost > > worker.myworker.port=8009 > worker.myworker.host=foo.com > > worker.myworker2.port=8009 > worker.myworker2.host=otherhost.com > > I am using Tomcat 4.0.6 -- IIS 5.0. > According the 4.1.X documentation my configuration is valid, but I wonder > if > that works in 4.0.X. ¿? > > Also in server.xml, I specified the address property for the ip of the > domains I'm configuring.(and added the hosts,obviously) > > Regards. > Jose Oyervides. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ --------------------------------------------------------------------- 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]