Hi Ingo,
I verified the functionality on OFBiz 13.07 and Trunk version using same
virtual-host value for 'ecommerce' and 'images' components. It seems to
working for me. If you still face issue then please share more details
to regenerate issue at our end.
Thanks & Regards
---
Arun Patidar
Manager,Enterprise Software Development
HotWax Media
www.hotwaxsystems.com
On Saturday 24 January 2015 01:07 AM, Ingo Wolfmayr wrote:
Hi Pierre,
thanks for the answer. I will check. Can you confirm that it should work that
way? I could not find any doc about it and had to figure it out myself.
Thanks,
Ingo
-----Ursprüngliche Nachricht-----
Von: Pierre Smits [mailto:[email protected]]
Gesendet: Mittwoch, 21. Jänner 2015 15:55
An: [email protected]
Betreff: Re: Multiple root apps (tenant)
Ingo,
There were some recent changes committed regarding multi-tenancy functionality.
You might consider doing a quick test against branch 14.12 to narrow it down.
Best regards,
Pierre Smits
*ORRTIZ.COM <http://www.orrtiz.com>*
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com
On Tue, Jan 20, 2015 at 8:32 AM, Ingo Wolfmayr <[email protected]>
wrote:
Hi everybody,
I would like to run multiple websites on a single instance using the
tenant functionality.
In Ofbiz release 13.07 it was working by using virtual hosts:
Root mount for virtual host:
<webapp name="demo"
title="Demo"
server="default-server"
location="webapp/demo"
mount-point="/ "
app-bar-display="false">
<virtual-host host-name="demo.com"/>
</webapp>
As I want to reuse code/resources from other webapps I did the following:
for example framework/images
This was necessary to make the images webapp available for all the
webapps that already used it:
<webapp name="images"
title="Images"
server="default-server"
location="webapp/images"
mount-point="/images"
app-bar-display="false">
</webapp>
This was necessary to make the images webapp available for the virtual
host:
<webapp name="images"
title="Images"
server="default-server"
location="webapp/images"
mount-point="/images"
app-bar-display="false">
<virtual-host host-name="demo.com"/> </webapp>
I tried to migrate to the actual trunk but failed as the virtual host
logic seems to work different. As far as I understood (in 13.07),
other webapps where only available for a virtualhost if they had a
matching virtual host entry as well.
Can someone please help me by telling me how this is done correct.
Best regards,
Ingo