Hi Neha,

Sufix the text you have in Location directive to your hostname. for example if your host is www.example.com, per given below example URL should be http://www.example.com/order. I assume your server is configured to listen on default http port that is port 80.

Thanks,

Raj

connect the Apache server to OFBiz. I have added the following code but i still dont know which URL should i write in the browser to access OFBiz components.

<VirtualHost 172.17.88.53:80>
# General setup for the virtual host. ServerName 172.17.88.53:443
    ServerAdmin [email protected]
    ProxyRequests Off
    ProxyPreserveHost On
    <Location /order/>
       ProxyPass ajp://localhost:9009/order/
</Location> </VirtualHost>

Kindly let me know, whwther i am going in tha right track...
Thanx in advance..

 Regards,
Neha Mehta




Raj Saini <[email protected]> 09/14/2009 03:08 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Hosting OFBiz on a single server with multiple domain names, without cloning components






Hi Neha,

I think you are mixing up few things here:

1. You need to create virtual hosts in Apache Web server (httpd) and not in Apache OFBiz. 2. If your Apache Web server is running on Winodw, Apache modules are .dll files. You can download the binary modules. Try searching on net. Though you can compile from source, I don't think it is easier to do unless you have MS build environment setup.

Thanks,

Raj

[email protected] wrote:
Hi,

I have created a virtual host in Apache OFBiz server and am trying to connect AJP proxy to OFBiz. I am not able to generate mod_proxy_ajp.so file. I know Linux command to generate .so file but i have no clue regarding its generation in windows.

In Apache's httpd.conf file, i need to load the following components :

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule ssl_module modules/mod_ssl.so

I have downloaded mod_jk-1.2.28-src, but not able to generate above .so files...

Kindly help me in this regard.

Thanks & Regards,
Neha Mehta
.


James McGill <[email protected]> 09/11/2009 08:38 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: Hosting OFBiz on a single server with multiple domain names, without

cloning components






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.)





______________________________________________________________________



______________________________________________________________________

Reply via email to