On Fri, Sep 11, 2009 at 2:32 AM, Raj Saini <[email protected]> wrote: > Hi Neha, > > One way is to front your OFBiz with Apache Web server. You can create > virtual host in Apache web server and then user AJP Proxy to connect to the > OFBiz.
If it's a single physical server, mod_rewrite + mod_proxy is usually more efficient than AJP. OFBiz does some of its own URL rewriting for SSL and this will probably be an issue. The approaches I would try, would all start with turning off SSL in OFBiz and putting an Apache SSL proxy in front of everything. But if the application needs to be aware of what domain it is serving, I suspect you need multiple instances of it. I wonder how multiple instances of OFBiz behave when connected to a single database. I also wonder if it is more efficient to run a single ofbiz.jar with applications in multiple contexts, or more efficient to run several ofbiz.jar which means multiple tomcat instances on several ports. (My suspicion is the second approach would allow more strict isolation but would be a memory hog.) -- James McGill Able Engineering
