The way I've accomplished this is by having two different instances of 
Resin, with different conf files.  It's easy to do with 3.0.x, a little 
harder with 3.1.0.

HTH,
Jose.

Vinny wrote:
> Hi,
> I am trying figure out a way to do a kind of virtual hosting based on 
> port number.
> 
> I want my production apps running under port 443
> docroot : (/web/production/webapps)
> 
> and my dev apps running under 8080.
> docroot : (/web/dev/webapps)
> 
> both production and dev apps will have the same context
> names (like ROOT.war for example)  I just need resin to differentiate
> on port number basically.
> I was thinking perhaps I could nest <host/>  under <http/> but it seems 
> like
> I will have to make a completely seperate <server/> block?
> Is that really the case?
> Thanks in advance
> 
> 
> 
> -- 
> Ghetto Java: http://www.ghettojava.com <http://www.ghettojava.com>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to