Hi Gavin,

I am happy that it worked. For production, you can remove the pass phase from your private key as it may not be possible to type a password in unattended production environment. Be aware, removing pass phrase will make your key readable by anyone having access to your server.

Thanks,

Raj

On Wednesday 18 May 2011 07:38 PM, Gavin Mabie wrote:
Hi Raj

I believe that I have located the issue - in addition to mod_proxy,
mod_proxy_ajp, and mod_rewrite I also needed to a2enmod ssl. Restarting
Apache then picked up the<VirtualHost *:443>  config.  Offcourse as Murphy's
would have it, my next issue is the pass phrase to the SSL key - which is
already generated and which I will only be able to get tomorrow since today
is a public holiday in ZA.

Thanks for your help.

Gavin


-----Original Message-----
From: Raj Saini [mailto:[email protected]]
Sent: 18 May 2011 02:32 PM
To: [email protected]
Cc: Gavin Mabie
Subject: Re: Running Ofbiz on Ubuntu with Apache front

Hi Gavin,

It means AJP is not listening on port 8009. Are you sure port 8009 is
enabled in ofbiz-container.xml?

Thanks,

Raj

On Wednesday 18 May 2011 05:24 PM, Gavin Mabie wrote:
Hi Raj

I pick this up in Apache error log when I try to access a https location.

"proxy: dialog to 127.0.0.1:8009 (localhost) failed"

Thanks

Gavin

-----Original Message-----
From: Raj Saini [mailto:[email protected]]
Sent: 18 May 2011 11:31 AM
To: [email protected]
Cc: Gavin Mabie
Subject: Re: Running Ofbiz on Ubuntu with Apache front

If they are in mods-enabled directory, they are already enabled. Check
the Apache error logs and you will certainly find the cause.

Thanks,

Raj
On Wednesday 18 May 2011 01:39 PM, Gavin Mabie wrote:
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?

Thanks

Gavin

-----Original Message-----
From: Raj Saini [mailto:[email protected]]
Sent: 18 May 2011 08:37 AM
To: [email protected]
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
/etc/apache2/mod-available/

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.

Thanks,

Raj

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
works
fine for serving pages through port:8080.  But when I try to get it to
work
with port:80, that's when the problems start.



This is my setup:

.         Ubuntu 8.x

.         Apache2



The documentation

https://cwiki.apache.org/OFBIZ/faq-tips-tricks-cookbook-howto.html#FAQ-Tips-
Tricks-Cookbook-HowTo-HTTPD and the apaches config files are not
necessarily
the same.  For example http.conf in the Ubuntu version of Apache2 is
empty.
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
like
m,y visitors to use www.example.com.



Thanks in advance.



Gavin






Reply via email to