-
1. Re: Multiple domains on Apache, mod_jk, JBoss configuration
qmpeltaty Feb 10, 2009 7:38 AM (in response to amarvyawhare)Just create two virtual hosts and bind them to applications using uriworkermaps.properties.
-
2. Re: Multiple domains on Apache, mod_jk, JBoss configuration
amarvyawhare Feb 10, 2009 12:41 PM (in response to amarvyawhare)I can create virtual host in server.xml file. But can you explain, possibly with samples, how to bind them to applications using uriworkermaps.properties.
-
3. Re: Multiple domains on Apache, mod_jk, JBoss configuration
amarvyawhare Aug 17, 2009 3:17 AM (in response to amarvyawhare)Any one to reply?
-
4. Re: Multiple domains on Apache, mod_jk, JBoss configuration
qmpeltaty Apr 22, 2011 5:52 AM (in response to amarvyawhare)Now i know it's very easy with mod_proxy_http (also available with mod_proxy_ajp).
Configuration example :
<VirtualHost IP_abc.com:80>
<IfModule proxy_http_module>
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
Order allow,deny
Allow from all
</Location>
ProxyPass / http://jboss_http_port/app1/
ProxyPassReverse / http://jboss_http_port/app1/
</IfModule>
<VirtualHost IP_xyz.com:80>
<IfModule proxy_http_module>
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
Order allow,deny
Allow from all
</Location>
ProxyPass / http://jboss_http_port/app2/
ProxyPassReverse / http://jboss_http_port/app2/
</IfModule>