ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gavin Mabie" <gavin.ma...@urbannex.co.za>
Subject RE: Running Ofbiz on Ubuntu with Apache front
Date Wed, 18 May 2011 08:09:56 GMT
Hi Raj

I managed to get Apache going for http pages, but https does not work. This
happened before I got your post - by which time I had manually configured
/ect/sites-enabled/000-default and /ect/sites-available/default-ssl.

I notice that proxy.load, proxy_ajp.load and rewrite.load are in the
mods-enabled directory.  Does this mean that they are enabled or should I
still run a2enmod?



-----Original Message-----
From: Raj Saini [mailto:rajsaini@gmail.com] 
Sent: 18 May 2011 08:37 AM
To: user@ofbiz.apache.org
Subject: Re: Running Ofbiz on Ubuntu with Apache front

Hi Gavin,

It should not be difficult to do it on Ubuntu. I will suggest you to use 
Apache mod_proxy and mod_proxy_ajp. You just need to configure your 
virtual host and you don't need to change any thing OFBiz side. Wiki 
page you mentioned have pretty much every thing you need to do.

Ubuntu Apache web server structure is different than other Linux 
distributions such as RedHat. Virtual hosts in Ubuntu are configured in 
/etc/apache2/site-available and /etc/apache2/site-enabled. "a2ensite". 
To enable modules you can use "a2enmod" command line utility. Apache 
module configuration files are in /etc/apache2/mod-enabled and 

So steps to get the job done are:

1. Create your virtual host in /etc/apache2/site-available folder 
following the instruction on wiki page.
2. Enable the required modules using he commands mentioned above. You 
will need mod_proxy, mod_proxy_ajp and may be mod_rewrite.
3. Enable your virtual host using a2ensite <virtual host file name>
4. Restart the Apache web server.



On Tuesday 17 May 2011 07:32 PM, Gavin Mabie wrote:
> Hi
> I am battling to get Ofbiz to serve pages to Apache.  I looked at the
> documentation but am non-the-wiser.  The installation on Linux Ubuntu
> fine for serving pages through port:8080.  But when I try to get it to
> with port:80, that's when the problems start.
> This is my setup:
> .         Ubuntu 8.x
> .         Apache2
> The documentation
> Tricks-Cookbook-HowTo-HTTPD and the apaches config files are not
> the same.  For example http.conf in the Ubuntu version of Apache2 is
> Help!
> What Apache files do I need to change/adjust to configure the VirtualHost
> and SSL.  My app is deployed in the hot-deploy component - and I would
> m,y visitors to use www.example.com.
> Thanks in advance.
> Gavin

View raw message