James Carman wrote:
On Wed, Mar 26, 2008 at 3:36 PM, Nino Saturnino Martinez Vazquez Wael
<[EMAIL PROTECTED]> wrote:
If he meant that the cms should be available via multiple
vhosts(apache2), but share the same application base then what?
Lets say:
mycompA.com --> myapplication on tomcat server via apache2
mycompB.com --> myapplication on tomcat server via apache2
using a vhost config some what like this:
<VirtualHost *:* >
ServerName mycompA.com
ServerAlias mycompB.com
ProxyPass / http://tomcatlocation/context/
ProxyPassReverse / http://tomcatlocation/context/
ProxyPassReverseCookiePath /context /
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
</VirtualHost>
The only problem with that is that you have to set up your proxy
Connector in Tomcat's server.xml with a hard-coded server name:
<Connector port="8081" ...
proxyName="www.mycompany.com"
proxyPort="80"/>
So, if you want to proxy to multiple hosts, you have to have multiple
connectors. Yuck!
Im already doing this, but I do not have to setup connectors in tomcat,
it's a apache2 based configuration only. However im not sure if wicket
can pickup the different hosts..
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]