I have a tomcat with several webapps, each one accessible by its own context.I must access each one of this webapps from a different domain. For example, I have the following webapps: wbExample1, wbExample2, wbExample3It should be accessible this way:So, the domain defined for each website must also access to an specific webapp.For an extra, I would like to know if [b]www.example1.com/wbExample1[/b] could be accessible with url [b]www.example1.com/contact[/b] without showing the name context of the webapp and showing the text [b]contact or contact.html[/b].
I must say that I tried a lot of possibilities but my knowledgment in Apache WS is not too much advanced.Apache Web Server version: 2.2.22OS: Centos 6 64 bitsTomcat version: 7.0.57What I need to achieve is the following:I have some plain websites defined this way:[b]<VirtualHost *:80>ServerAdmin example1@xxxxxxxxxxxxDocumentRoot "/opt/sites/example1/"ServerName example1.comErrorLog logs/example1-error_logCustomLog logs/example1-access_log commonRedirectMatch permanent ^/(.*) http://www.example1.com/$1</VirtualHost><VirtualHost *:80>ServerAdmin example1@xxxxxxxxxxxxDocumentRoot "/opt/sites/example1/"ServerName www.example1.comErrorLog logs/example1-error_logCustomLog logs/example1-access_log common</VirtualHost>[/b]I have a tomcat with several webapps, each one accessible by its own context.I must access each one of this webapps from a different domain. For example, I have the following webapps: wbExample1, wbExample2, wbExample3It should be accessible this way:So, the domain defined for each website must also access to an specific webapp.For an extra, I would like to know if [b]www.example1.com/wbExample1[/b] could be accessible with url [b]www.example1.com/contact[/b] without showing the name context of the webapp and showing the text [b]contact or contact.html[/b].--Ger
Learning to Live