Hi Hans, We've a similar requirement to host 2 websites and backend applications on a single instance of ofbiz-10.04 on EC2. The websites have to be mounted on mounted on root. We are ready with the first website, www.website1.com. Website1 will be accessible at www.website1.com & backend applications will be accessible at ofbiz.mycompany.com We've configured the DNS settings and currently both these URLs point to the same IP address.
We've applied virtual host settings in hot-deploy/website1/ofbiz-component.xml & framework/images/ofbiz-component.xml We've also applied your changes from revision 1081692 Though theres a problem when we try to access ofbiz.mycompany.com, it redirects to www.website1.com If you have a tip, please let us know. On Tue, Mar 15, 2011 at 3:01 PM, Hans Bakker <[email protected]>wrote: > This function was already in OFbiz but it did not work anymore... > > fixed in revision 1081692. > > You can use multiple <web-apps with the same mount-point however with > different <virtual-host host-name specs" > > Regards, > Hans > > On Tue, 2011-03-15 at 13:35 +0700, Hans Bakker wrote: > > perhaps some extra info, we are using the Amazon ec2 loadbalancer as > > frontend (decrypting ssl) and pass on directly to the ofbiz system. > > > > Raj already suggested to use apache for that, but apache is not there > > and we would like to do this directly in OFBiz. > > > > Regards, > > Hans > > > > > > On Tue, 2011-03-15 at 13:03 +0700, Hans Bakker wrote: > > > May i have your opinion? > > > > > > We have the requirement to run several different ecommerce domainnames > > > as a root application. > > > > > > I know we had a domain name in the webapp definition in > > > ofbiz-component.xml, but that was removed at a certain point. > > > > > > Any suggestions how to implement this? > > > Perhaps using the website entity? and using the webapp mount point > > > internally? > > > > > > thanks in advance for your suggestions.... > > > Regards, > > > Hans > > > > -- > Ofbiz on twitter: http://twitter.com/apache_ofbiz > Myself on twitter: http://twitter.com/hansbak > Antwebsystems.com: Quality services for competitive rates. > > -- Regards, Varun Bhansaly
