Re: second website

2013-04-28 Thread Heidi Dehaes
any idea's ?

Eric

2013/4/26 Heidi Dehaes info.ola...@gmail.com:
 Hello Atul,

 I tried to find a solution. So i took the ofbiz-containers.xml file
 under /framework/base/config  in ofbiz11.0.4.

 As i read in the documentation from Tomcat is must be possible to
 define two engine objects and two http-connector objects.
 I defined a default-server where default-host = 46.18.32.177
 and a second default-server2 where default-host = 46.18.32.178

 I defined two http-connectors , one connected with parameter address
 = 46.18.32.177 and a second one with parameter address =
 46.18.32.178

 The whole configuration in ofbiz-containers.xml was:

 property name=default-server value=engine
 property name=default-host value=46.18.32.177/
 property name=jvm-route value=jvm1/
 property name=access-log-pattern
 property-value%h %l %u %t %r %s %b %{Referer}i
 %{User-Agent}i/property-value
 /property
 property name=access-log-resolve value=true/
 property name=access-log-rotate value=true/
 property name=access-log-prefix value=access_log./
 property name=access-log-dir value=runtime/logs/
 property name=enable-request-dump value=false/
 !-- uncomment for cluster support
 property name=default-server-cluster value=cluster
 property name=rep-valve-filter

 property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
 /property
 property name=manager-class
 value=org.apache.catalina.ha.session.DeltaManager/
 property name=debug value=5/
 property name=replication-mode
 value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
 property name=tcp-listen-host value=auto/
 property name=tcp-listen-port value=4001/
 property name=tcp-sector-timeout value=100/
 property name=tcp-thread-count value=6/
 property name=mcast-bind-addr value=192.168.2.1/
 property name=mcast-addr value=228.0.0.4/
 property name=mcast-port value=45564/
 property name=mcast-freq value=500/
 property name=mcast-drop-time value=3000/
 /property
 --
 !-- property name=ssl-accelerator-port value=8443/ --
 property name=enable-cross-subdomain-sessions value=false/
 /property



 property name=default-server2 value=engine
 property name=default-host value=46.18.32.178/
 property name=jvm-route value=jvm1/
 property name=access-log-pattern
 property-value%h %l %u %t %r %s %b %{Referer}i
 %{User-Agent}i/property-value
 /property
 property name=access-log-resolve value=true/
 property name=access-log-rotate value=true/
 property name=access-log-prefix value=access_log./
 property name=access-log-dir value=runtime/logs/
 property name=enable-request-dump value=false/
 !-- uncomment for cluster support
 property name=default-server-cluster value=cluster
 property name=rep-valve-filter

 property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
 /property
 property name=manager-class
 value=org.apache.catalina.ha.session.DeltaManager/
 property name=debug value=5/
 property name=replication-mode
 value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
 property name=tcp-listen-host value=auto/
 property name=tcp-listen-port value=4001/
 property name=tcp-sector-timeout value=100/
 property name=tcp-thread-count value=6/
 property name=mcast-bind-addr value=192.168.2.1/
 property name=mcast-addr value=228.0.0.4/
 property name=mcast-port value=45564/
 property name=mcast-freq value=500/
 property name=mcast-drop-time value=3000/
 /property
 --
 !-- property name=ssl-accelerator-port value=8443/ --
 property name=enable-cross-subdomain-sessions value=false/
 /property



 property name=http-connector value=connector
 !-- see
 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for
 reference --
 property name=allowTrace value=false/
 property name=emptySessionPath value=false/
 property name=enableLookups value=false/
 property name=maxPostSize value=2097152/
 property name=protocol value=HTTP/1.1/
 property name=proxyName value=/
 property name=proxyPort value=/
 

Re: second website

2013-04-28 Thread Rajbir Saini
One way to accomplish this is to use Apache HTTPd as proxy to OFBiz. You 
can define your virtual hosts in the Apache web server and point them to 
different applications in the OFBiz. You can find more about thi at [1].


[1] https://cwiki.apache.org/OFBIZ/faq-tips-tricks-cookbook-howto.html

Thanks,

Raj

On Sunday 28 April 2013 09:23 PM, Heidi Dehaes wrote:

any idea's ?

Eric

2013/4/26 Heidi Dehaes info.ola...@gmail.com:

Hello Atul,

I tried to find a solution. So i took the ofbiz-containers.xml file
under /framework/base/config  in ofbiz11.0.4.

As i read in the documentation from Tomcat is must be possible to
define two engine objects and two http-connector objects.
I defined a default-server where default-host = 46.18.32.177
and a second default-server2 where default-host = 46.18.32.178

I defined two http-connectors , one connected with parameter address
= 46.18.32.177 and a second one with parameter address =
46.18.32.178

The whole configuration in ofbiz-containers.xml was:

 property name=default-server value=engine
 property name=default-host value=46.18.32.177/
 property name=jvm-route value=jvm1/
 property name=access-log-pattern
 property-value%h %l %u %t %r %s %b %{Referer}i
%{User-Agent}i/property-value
 /property
 property name=access-log-resolve value=true/
 property name=access-log-rotate value=true/
 property name=access-log-prefix value=access_log./
 property name=access-log-dir value=runtime/logs/
 property name=enable-request-dump value=false/
 !-- uncomment for cluster support
 property name=default-server-cluster value=cluster
 property name=rep-valve-filter

property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
 /property
 property name=manager-class
value=org.apache.catalina.ha.session.DeltaManager/
 property name=debug value=5/
 property name=replication-mode
value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
 property name=tcp-listen-host value=auto/
 property name=tcp-listen-port value=4001/
 property name=tcp-sector-timeout value=100/
 property name=tcp-thread-count value=6/
 property name=mcast-bind-addr value=192.168.2.1/
 property name=mcast-addr value=228.0.0.4/
 property name=mcast-port value=45564/
 property name=mcast-freq value=500/
 property name=mcast-drop-time value=3000/
 /property
 --
 !-- property name=ssl-accelerator-port value=8443/ --
 property name=enable-cross-subdomain-sessions value=false/
 /property



 property name=default-server2 value=engine
 property name=default-host value=46.18.32.178/
 property name=jvm-route value=jvm1/
 property name=access-log-pattern
 property-value%h %l %u %t %r %s %b %{Referer}i
%{User-Agent}i/property-value
 /property
 property name=access-log-resolve value=true/
 property name=access-log-rotate value=true/
 property name=access-log-prefix value=access_log./
 property name=access-log-dir value=runtime/logs/
 property name=enable-request-dump value=false/
 !-- uncomment for cluster support
 property name=default-server-cluster value=cluster
 property name=rep-valve-filter

property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
 /property
 property name=manager-class
value=org.apache.catalina.ha.session.DeltaManager/
 property name=debug value=5/
 property name=replication-mode
value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
 property name=tcp-listen-host value=auto/
 property name=tcp-listen-port value=4001/
 property name=tcp-sector-timeout value=100/
 property name=tcp-thread-count value=6/
 property name=mcast-bind-addr value=192.168.2.1/
 property name=mcast-addr value=228.0.0.4/
 property name=mcast-port value=45564/
 property name=mcast-freq value=500/
 property name=mcast-drop-time value=3000/
 /property
 --
 !-- property name=ssl-accelerator-port value=8443/ --
 property name=enable-cross-subdomain-sessions value=false/
 /property



 property name=http-connector value=connector
 !-- see
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for
reference --
 property 

Re: second website

2013-04-26 Thread Heidi Dehaes
Hello,

Thanks for your reply.

I have two IP addresses available and configured in Debian Linux.

In ofbiz 11.0.4 i have in the content / websites page configured the following:

- WebStoreClone   with IP 46.18.32.177  and http port 80 with
productstore Onlinekinderwinkel with Theme EC Default..

- OfbizSite   with IP 46.18.32.178 and http port 80 with
productstore Olagos with theme MultiFlex.

However no difference appears if i take the one or the other ip
address in the browser.

What do i miss?

Regards,
Eric



2013/4/26 Atul Vani atul.v...@hotwaxmedia.com:
 Didn't get your purpose but a small thing to do would be to have something
 like ecommerce clone app. Override only what needs to be changed and use a
 different theme. With this both sites can be kept on the same server.

 To have them on different servers, you can just use the same database by as
 mentioned by Jacques.


 On Tue, 23 Apr 2013 17:47:53 +0530, Heidi Dehaes info.ola...@gmail.com
 wrote:

 Hi,

 And i have to copy the ecommerce subdirectory with files to a second
 mount point, i guess?

 Eric, Heidi

 2013/4/23 Jacques Le Roux jacques.le.r...@les7arts.com:

 Hi Heidi,

 It's as easy as setting the entittyengine.xml fil to point to the same DB

 Jacques

 From: Heidi Dehaes info.ola...@gmail.com

 Hello,

 I have a ofbiz11.0.4 version on Debian Linux with one database.

 I want to know how to setup a second website (webshop) with the same
 database only a different layout.

 I have a second IP address available.

 Regards,
 Eric

 --
 Olagos bvba
 http://www.olagos.eu
 http://www.olagos.com
 http://www.olagos.be
 http://www.olagos.nl
 Olagos team
 Kerkstraat 34
 2570 Duffel
 Belgium






 --
 Using Opera's revolutionary email client: http://www.opera.com/mail/



-- 
Olagos bvba
http://www.olagos.eu
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Kerkstraat 34
2570 Duffel
Belgium


Re: second website

2013-04-26 Thread Heidi Dehaes
Hello Atul,

I tried to find a solution. So i took the ofbiz-containers.xml file
under /framework/base/config  in ofbiz11.0.4.

As i read in the documentation from Tomcat is must be possible to
define two engine objects and two http-connector objects.
I defined a default-server where default-host = 46.18.32.177
and a second default-server2 where default-host = 46.18.32.178

I defined two http-connectors , one connected with parameter address
= 46.18.32.177 and a second one with parameter address =
46.18.32.178

The whole configuration in ofbiz-containers.xml was:

property name=default-server value=engine
property name=default-host value=46.18.32.177/
property name=jvm-route value=jvm1/
property name=access-log-pattern
property-value%h %l %u %t %r %s %b %{Referer}i
%{User-Agent}i/property-value
/property
property name=access-log-resolve value=true/
property name=access-log-rotate value=true/
property name=access-log-prefix value=access_log./
property name=access-log-dir value=runtime/logs/
property name=enable-request-dump value=false/
!-- uncomment for cluster support
property name=default-server-cluster value=cluster
property name=rep-valve-filter

property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
/property
property name=manager-class
value=org.apache.catalina.ha.session.DeltaManager/
property name=debug value=5/
property name=replication-mode
value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
property name=tcp-listen-host value=auto/
property name=tcp-listen-port value=4001/
property name=tcp-sector-timeout value=100/
property name=tcp-thread-count value=6/
property name=mcast-bind-addr value=192.168.2.1/
property name=mcast-addr value=228.0.0.4/
property name=mcast-port value=45564/
property name=mcast-freq value=500/
property name=mcast-drop-time value=3000/
/property
--
!-- property name=ssl-accelerator-port value=8443/ --
property name=enable-cross-subdomain-sessions value=false/
/property



property name=default-server2 value=engine
property name=default-host value=46.18.32.178/
property name=jvm-route value=jvm1/
property name=access-log-pattern
property-value%h %l %u %t %r %s %b %{Referer}i
%{User-Agent}i/property-value
/property
property name=access-log-resolve value=true/
property name=access-log-rotate value=true/
property name=access-log-prefix value=access_log./
property name=access-log-dir value=runtime/logs/
property name=enable-request-dump value=false/
!-- uncomment for cluster support
property name=default-server-cluster value=cluster
property name=rep-valve-filter

property-value.*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;.*\.png;.*\.css;.*\.ico;.*\.htc;/property-value
/property
property name=manager-class
value=org.apache.catalina.ha.session.DeltaManager/
property name=debug value=5/
property name=replication-mode
value=org.apache.catalina.tribes.transport.bio.PooledMultiSender/
property name=tcp-listen-host value=auto/
property name=tcp-listen-port value=4001/
property name=tcp-sector-timeout value=100/
property name=tcp-thread-count value=6/
property name=mcast-bind-addr value=192.168.2.1/
property name=mcast-addr value=228.0.0.4/
property name=mcast-port value=45564/
property name=mcast-freq value=500/
property name=mcast-drop-time value=3000/
/property
--
!-- property name=ssl-accelerator-port value=8443/ --
property name=enable-cross-subdomain-sessions value=false/
/property



property name=http-connector value=connector
!-- see
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html for
reference --
property name=allowTrace value=false/
property name=emptySessionPath value=false/
property name=enableLookups value=false/
property name=maxPostSize value=2097152/
property name=protocol value=HTTP/1.1/
property name=proxyName value=/
property name=proxyPort value=/
property name=redirectPort value=/
property name=scheme value=http/
property name=secure value=false/
property 

Re: second website

2013-04-25 Thread Atul Vani
Didn't get your purpose but a small thing to do would be to have something  
like ecommerce clone app. Override only what needs to be changed and use a  
different theme. With this both sites can be kept on the same server.


To have them on different servers, you can just use the same database by  
as mentioned by Jacques.


On Tue, 23 Apr 2013 17:47:53 +0530, Heidi Dehaes info.ola...@gmail.com  
wrote:



Hi,

And i have to copy the ecommerce subdirectory with files to a second
mount point, i guess?

Eric, Heidi

2013/4/23 Jacques Le Roux jacques.le.r...@les7arts.com:

Hi Heidi,

It's as easy as setting the entittyengine.xml fil to point to the same  
DB


Jacques

From: Heidi Dehaes info.ola...@gmail.com

Hello,

I have a ofbiz11.0.4 version on Debian Linux with one database.

I want to know how to setup a second website (webshop) with the same
database only a different layout.

I have a second IP address available.

Regards,
Eric

--
Olagos bvba
http://www.olagos.eu
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Kerkstraat 34
2570 Duffel
Belgium







--
Using Opera's revolutionary email client: http://www.opera.com/mail/


Re: second website

2013-04-23 Thread Jacques Le Roux
Hi Heidi,

It's as easy as setting the entittyengine.xml fil to point to the same DB

Jacques

From: Heidi Dehaes info.ola...@gmail.com
 Hello,
 
 I have a ofbiz11.0.4 version on Debian Linux with one database.
 
 I want to know how to setup a second website (webshop) with the same
 database only a different layout.
 
 I have a second IP address available.
 
 Regards,
 Eric
 
 -- 
 Olagos bvba
 http://www.olagos.eu
 http://www.olagos.com
 http://www.olagos.be
 http://www.olagos.nl
 Olagos team
 Kerkstraat 34
 2570 Duffel
 Belgium


Re: second website

2013-04-23 Thread Heidi Dehaes
Hi,

And i have to copy the ecommerce subdirectory with files to a second
mount point, i guess?

Eric, Heidi

2013/4/23 Jacques Le Roux jacques.le.r...@les7arts.com:
 Hi Heidi,

 It's as easy as setting the entittyengine.xml fil to point to the same DB

 Jacques

 From: Heidi Dehaes info.ola...@gmail.com
 Hello,

 I have a ofbiz11.0.4 version on Debian Linux with one database.

 I want to know how to setup a second website (webshop) with the same
 database only a different layout.

 I have a second IP address available.

 Regards,
 Eric

 --
 Olagos bvba
 http://www.olagos.eu
 http://www.olagos.com
 http://www.olagos.be
 http://www.olagos.nl
 Olagos team
 Kerkstraat 34
 2570 Duffel
 Belgium



-- 
Olagos bvba
http://www.olagos.eu
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Kerkstraat 34
2570 Duffel
Belgium