You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by DF...@teamhuber.com on 2008/05/07 16:53:30 UTC

Virtual Host vs. Deployment Environments

I needed to configure a virtual host for my web app, so I added the 
HostGBean to the /var/config/config.xml, then added a <host> element to 
the geronimo-web.xml.

Everything worked great, except now I have to manually comment out that 
<host> element to deploy locally or to the test server, since there can 
only be one computer with that domain.

Any ideas on how to deal with this in a way that does not require project 
file changes for each environment?

Thanks!