tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Admin Premiaweb" <ad...@premiaweb.it>
Subject Tomcat Connector - Different websites dirs pointing to one website dir
Date Wed, 16 Apr 2008 15:04:44 GMT
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


Mime
View raw message