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