Re: Users - running virtual hosts via apache

Posted by Hans Bakker on
URL: http://ofbiz.116.s1.nabble.com/Users-running-virtual-hosts-via-apache-tp136762p136787.html

Hi Everybody,

thanks everybody very much for the many replies. I spend 2 days on this
subject and that certainly is not enough to investigate the possibilities.

Perhaps it is interesting to report what I found.

There are at least 3 possibilities:

1. only mod_proxy, currently the demo ofbiz site on ofbiz.org is running in
that mode, the virtual files for apache 1.3 are attached (demo-ofbiz &
ssl-demo-ofbiz) I run a production ofbiz at the same server with similar
virtual files but obviously different ports and domainnames.
The problem with this setup is that the ip number of the client is not
forwarded to ofbiz (only possble in apache 2) and loadbalancing over more
that one server could be a problem, I am not sure.

2. Currently i decided to use mod_jk because it is the easiest but the config
files are a bit strange, there should be 2 entries for every entry name. But
has no remapping of names.  Perhaps adding mod_rewrite is a solution. i did
not do that yet because this is a complicated product. It looks performance
wise the best solution and has loadbalancing. Attached the used files:
mod_jk.conf, vituals.conf and workers.properties.

3. The way Andrew suggested is to use mod_proxy and mod_rewrite. It is certain
the most flexible but also the most complicated one. I am not sure how you
would do load balancing here....

thanks again for your replies, it saved me a lot of time.

--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

demo-ofbiz (462 bytes) Download Attachment
ssl-demo-ofbiz (7K) Download Attachment
mod_jk.conf (176 bytes) Download Attachment
virtuals.conf (1K) Download Attachment
workers.properties (541 bytes) Download Attachment
attachment5 (196 bytes) Download Attachment