You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Admin Premiaweb <ad...@premiaweb.it> on 2008/04/16 17:04:44 UTC

Tomcat Connector - Different websites dirs pointing to one website dir

Hello everybody
I have 3 websites running on IIS with Isapi Connector pointing to 3
different Tomcat hosts.
I have defined my uriworkermap rules and everything is working.


I would like to have a directory in my websites pointing to a single worker.
That is:

site-AAA/page.jsp	-> site-AAA:8080/page.jsp
site-BBB/page.jsp	-> site-BBB:8080/page.jsp

site-AAA/dir/	-> site-AAA:8080/dir/
site-BBB/dir/	-> site-AAA:8080/dir/


I would like to have www.agriturismo.it/dir/ and en.agriturismo.it/dir/
pointing at the same index.jsp file.


How can I do that ?


These are my configuration files:

#############################################
# uriworkermap.properties

/*.jsp=worker1
/en.agriturismo.it/*.jsp=workerEN
#############################################


#############################################
# workers.properties

# my workers
worker.list=worker1,workerEN

# italian, worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009

# english, workerEN (ajp13)
worker.workerEN.type=ajp13
worker.workerEN.host=en.agriturismo.it
worker.workerEN.port=8009
#############################################



Thanks
ciao

Marco Monguzzi
Premiaweb s.r.l.
Tel  02 66406018	Fax  02 66403495

www.premiaweb.it
www.agriturismo.it - la guida selezionata agli agriturismi d'Italia
www.travelfool.it - le migliori offerte di viaggio della rete
www.matrimonio.it - il sito dedicato agli sposi


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org