You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS <in...@gmail.com> on 2008/09/19 11:16:38 UTC

more than one ofbiz e-commerce running

Hello,

Is it possible to run two e-shops on the same ip-address but with two
different access ports, for example
one e-shop website on port 80 with own product store x
and
other e-shop website on port 81 with own product store y

and running only one instance from the ofbiz software?

regards,
Heidi

Re: more than one ofbiz e-commerce running

Posted by SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS <in...@gmail.com>.
Thanks again. I read the article.

But it is always not clear for me :

i can configure different websites in ofbiz administrator application:
for example
ecommerce and
ecommerce clone

But if i want to start them, do i need to start ofbiz in two different
ms dos screens on windows, so having two instances???????

regards,
Heidi

2008/9/19, BJ Freeman <bj...@free-man.net>:
> look at the ecommerce and ecommerce clone
> look at the website entity.
> you can also
> have Apache httpd server and use virtual hosts to connect to ofbiz
> ecommerce sites and have many clones running.
> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD
>
> SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS sent
> the following on 9/19/2008 2:16 AM:
> > Hello,
> >
> > Is it possible to run two e-shops on the same ip-address but with two
> > different access ports, for example
> > one e-shop website on port 80 with own product store x
> > and
> > other e-shop website on port 81 with own product store y
> >
> > and running only one instance from the ofbiz software?
> >
> > regards,
> > Heidi
> >
> >
> >
>
>

Re: more than one ofbiz e-commerce running

Posted by BJ Freeman <bj...@free-man.net>.
look at the ecommerce and ecommerce clone
look at the website entity.
you can also
have Apache httpd server and use virtual hosts to connect to ofbiz
ecommerce sites and have many clones running.
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD

SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS sent
the following on 9/19/2008 2:16 AM:
> Hello,
> 
> Is it possible to run two e-shops on the same ip-address but with two
> different access ports, for example
> one e-shop website on port 80 with own product store x
> and
> other e-shop website on port 81 with own product store y
> 
> and running only one instance from the ofbiz software?
> 
> regards,
> Heidi
> 
> 
> 


Re: more than one ofbiz e-commerce running

Posted by BJ Freeman <bj...@free-man.net>.
yes use the ecommerce clone as a template.
use the proxy in the link I gave you.


SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS sent
the following on 9/19/2008 6:39 AM:
> as many as applications in one instance, you mean with ofbiz
> (startofbiz.bat) only started once in an ms-dos screen?
> 
> heidi
> 
> 2008/9/19, Raj Saini <ra...@gmail.com>:
>> Yes, you can have as many as applications in one instance. Each of your
>> website can share same store or you can create different store for each
>> site.
>>
>>
>> Raj
>>
>> SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
>>> Yes, thanks.
>>>
>>> I am running now already a Apache frontend with mod_ajp protocol to
>>> the ofbiz tomcat behind it.
>>>
>>> But my question is specially about the configuration of the ofbiz
>>> application software.
>>> Is it possible to do the hosting of two e-shops with one instance of
>>> ofbiz running?
>>>
>>> Heidi
>>>
>>> 2008/9/19, Raj Saini <ra...@gmail.com>:
>>>
>>>
>>>> Ya, it should be possible.
>>>>
>>>> 1. Create two e-commerce application says A and B
>>>> 2. Create two port based virtual hosts in Apace web server one listening
>> on
>>>> port 80 and another port 81. Please refer
>>>> http://httpd.apache.org/docs/2.0/vhosts/examples.html
>> for
>>>> details.
>>>> 3. User Apache module mod_ajp_proxy or url rewrite module mod_urlrewrite
>> to
>>>> connect to application A and B. Please search OFBiz wiki and mailing
>> list
>>>> archives  to know how to use AJP proxy in Apache web server to connect
>> to
>>>> Tomcat.
>>>>
>>>> Thanks,
>>>>
>>>> Raj
>>>>
>>>>
>>>> SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> Is it possible to run two e-shops on the same ip-address but with two
>>>>> different access ports, for example
>>>>> one e-shop website on port 80 with own product store x
>>>>> and
>>>>> other e-shop website on port 81 with own product store y
>>>>>
>>>>> and running only one instance from the ofbiz software?
>>>>>
>>>>> regards,
>>>>> Heidi
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
> 
> 
> 


Re: more than one ofbiz e-commerce running

Posted by SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS <in...@gmail.com>.
as many as applications in one instance, you mean with ofbiz
(startofbiz.bat) only started once in an ms-dos screen?

heidi

2008/9/19, Raj Saini <ra...@gmail.com>:
> Yes, you can have as many as applications in one instance. Each of your
> website can share same store or you can create different store for each
> site.
>
>
> Raj
>
> SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
> > Yes, thanks.
> >
> > I am running now already a Apache frontend with mod_ajp protocol to
> > the ofbiz tomcat behind it.
> >
> > But my question is specially about the configuration of the ofbiz
> > application software.
> > Is it possible to do the hosting of two e-shops with one instance of
> > ofbiz running?
> >
> > Heidi
> >
> > 2008/9/19, Raj Saini <ra...@gmail.com>:
> >
> >
> > > Ya, it should be possible.
> > >
> > > 1. Create two e-commerce application says A and B
> > > 2. Create two port based virtual hosts in Apace web server one listening
> on
> > > port 80 and another port 81. Please refer
> > > http://httpd.apache.org/docs/2.0/vhosts/examples.html
> for
> > > details.
> > > 3. User Apache module mod_ajp_proxy or url rewrite module mod_urlrewrite
> to
> > > connect to application A and B. Please search OFBiz wiki and mailing
> list
> > > archives  to know how to use AJP proxy in Apache web server to connect
> to
> > > Tomcat.
> > >
> > > Thanks,
> > >
> > > Raj
> > >
> > >
> > > SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
> > >
> > >
> > > > Hello,
> > > >
> > > > Is it possible to run two e-shops on the same ip-address but with two
> > > > different access ports, for example
> > > > one e-shop website on port 80 with own product store x
> > > > and
> > > > other e-shop website on port 81 with own product store y
> > > >
> > > > and running only one instance from the ofbiz software?
> > > >
> > > > regards,
> > > > Heidi
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> >
>
>

Re: more than one ofbiz e-commerce running

Posted by Raj Saini <ra...@gmail.com>.
Yes, you can have as many as applications in one instance. Each of your 
website can share same store or you can create different store for each 
site.

Raj

SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
> Yes, thanks.
>
> I am running now already a Apache frontend with mod_ajp protocol to
> the ofbiz tomcat behind it.
>
> But my question is specially about the configuration of the ofbiz
> application software.
> Is it possible to do the hosting of two e-shops with one instance of
> ofbiz running?
>
> Heidi
>
> 2008/9/19, Raj Saini <ra...@gmail.com>:
>   
>> Ya, it should be possible.
>>
>> 1. Create two e-commerce application says A and B
>> 2. Create two port based virtual hosts in Apace web server one listening on
>> port 80 and another port 81. Please refer
>> http://httpd.apache.org/docs/2.0/vhosts/examples.html for
>> details.
>> 3. User Apache module mod_ajp_proxy or url rewrite module mod_urlrewrite to
>> connect to application A and B. Please search OFBiz wiki and mailing list
>> archives  to know how to use AJP proxy in Apache web server to connect to
>> Tomcat.
>>
>> Thanks,
>>
>> Raj
>>
>>
>> SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
>>     
>>> Hello,
>>>
>>> Is it possible to run two e-shops on the same ip-address but with two
>>> different access ports, for example
>>> one e-shop website on port 80 with own product store x
>>> and
>>> other e-shop website on port 81 with own product store y
>>>
>>> and running only one instance from the ofbiz software?
>>>
>>> regards,
>>> Heidi
>>>
>>>
>>>
>>>       
>>     
>
>   


Re: more than one ofbiz e-commerce running

Posted by SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS <in...@gmail.com>.
Yes, thanks.

I am running now already a Apache frontend with mod_ajp protocol to
the ofbiz tomcat behind it.

But my question is specially about the configuration of the ofbiz
application software.
Is it possible to do the hosting of two e-shops with one instance of
ofbiz running?

Heidi

2008/9/19, Raj Saini <ra...@gmail.com>:
> Ya, it should be possible.
>
> 1. Create two e-commerce application says A and B
> 2. Create two port based virtual hosts in Apace web server one listening on
> port 80 and another port 81. Please refer
> http://httpd.apache.org/docs/2.0/vhosts/examples.html for
> details.
> 3. User Apache module mod_ajp_proxy or url rewrite module mod_urlrewrite to
> connect to application A and B. Please search OFBiz wiki and mailing list
> archives  to know how to use AJP proxy in Apache web server to connect to
> Tomcat.
>
> Thanks,
>
> Raj
>
>
> SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
> > Hello,
> >
> > Is it possible to run two e-shops on the same ip-address but with two
> > different access ports, for example
> > one e-shop website on port 80 with own product store x
> > and
> > other e-shop website on port 81 with own product store y
> >
> > and running only one instance from the ofbiz software?
> >
> > regards,
> > Heidi
> >
> >
> >
>
>

Re: more than one ofbiz e-commerce running

Posted by Raj Saini <ra...@gmail.com>.
Ya, it should be possible.

1. Create two e-commerce application says A and B
2. Create two port based virtual hosts in Apace web server one listening 
on port 80 and another port 81. Please refer 
http://httpd.apache.org/docs/2.0/vhosts/examples.html for details.
3. User Apache module mod_ajp_proxy or url rewrite module mod_urlrewrite 
to connect to application A and B. Please search OFBiz wiki and mailing 
list archives  to know how to use AJP proxy in Apache web server to 
connect to Tomcat.

Thanks,

Raj

SPEELGOED VOOR KINDEREN / TOYS FOR CHILDREN / JOUETS POUR ENFANTS wrote:
> Hello,
>
> Is it possible to run two e-shops on the same ip-address but with two
> different access ports, for example
> one e-shop website on port 80 with own product store x
> and
> other e-shop website on port 81 with own product store y
>
> and running only one instance from the ofbiz software?
>
> regards,
> Heidi
>
>