Hi Neha,

This is less related to OFBiz and more of Apache Web server. There are various ways to front the OFbiz with Apache httpd.

1. mod_jk (old way and only way with Apache HTTPd 2.0 and below)
2. AJP Proxy with Reverse Proxy (Preferred way to integrate with HTTPd 2.2+)
3. Reverse Proxy

I have been trying to explain the AJP Proxy for HTTPd 2.2+

For this to work, there is no need to change any thing in the OFBiz. You will need to setup your Apache HTTPd properly. I would suggest you to search for the Apache Web Server and Tomcat Integration on web. OFBiz integration is no different than the Tomcat.

Thanks,

Raj


neha.me...@lntinfotech.com wrote:
Hi Raj,

I am sorry for bothering you so much ,could you please tell me whether i need to configure OFBiz' internal tomcat for mod_jk? Actually i am very new to OFBiz and am not getting a clear idea of implementing this..




Raj Saini <rajsa...@gmail.com> 09/16/2009 03:31 PM
Please respond to
user@ofbiz.apache.org


To
user@ofbiz.apache.org
cc

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






Hi Neha,

With the Location, you need to pass the request to the AJP and tomcat default AJP port is 8009. And the URL in your browser should not include port as port 80 is default.

Thanks,

Raj

neha.me...@lntinfotech.com wrote:
Hi,

Thanx a lot to all for your replies.They helped me a lot.
I have successfully configured Apache Http Server and is able to view OFbiz directories on the browser, once i put apache's url on browser.
But i am still not able to access ecommerce component.


<VirtualHost *:80>
# General setup for the virtual host. ServerName 172.17.88.53:80 // This

is my machine's IP address
DocumentRoot "D:\dev\Latest-OFBiz-20aug\" // i can view this directory list on browser
    ServerAdmin neha.me...@lntinfotech.com
    ProxyRequests Off
    ProxyPreserveHost On
<Location /ecommerce/> // Is it the correct way to call OFBiz' components from apache??
       ProxyPass http://localhost:8088/ecommerce
 </Location>




Thanks & Regards,
Neha Mehta


______________________________________________________________________



______________________________________________________________________



______________________________________________________________________

Reply via email to