Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DDE462C6 for ; Wed, 18 May 2011 12:32:29 +0000 (UTC) Received: (qmail 83455 invoked by uid 500); 18 May 2011 12:32:28 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 83442 invoked by uid 500); 18 May 2011 12:32:28 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 83406 invoked by uid 99); 18 May 2011 12:32:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2011 12:32:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajsaini@gmail.com designates 74.125.83.172 as permitted sender) Received: from [74.125.83.172] (HELO mail-pv0-f172.google.com) (74.125.83.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2011 12:32:20 +0000 Received: by pvh18 with SMTP id 18so936357pvh.31 for ; Wed, 18 May 2011 05:32:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=WLEQVSAoMMjVMO+cQHOXHHb5zXJ4C8CgpPY+J2R2lyA=; b=WxNaBpXPsbbkHvdb2YyWLxP4EuRalTxsAm51PgBi/ebN/350QC15NFtBd6hpSFI4Ij SnYQm/qXyzaGC/TxlTVPbrr3tBr6rj0LKdVio9n6qlLrN8S22xm5Fi9h7iSZhGzGss5/ KOvgz/6s7G3vWj579ssG0TBZMeWWZQLIu9H98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=KrElR5pnmD0Wf3m3noIITUVuYd9CADhW7Aup0HF+PJpQ7OX/StEc3/3g/SpZZpENyd BEuJtIF6hjjd51Hnu9pTLvRJRUXF3pvm0cHssMLnr0zKKxHghpIhv5Awyx9lSb0gyeDi QexBakTQdC2N92skr8TXEJOUYRS7827TNWD6s= Received: by 10.68.56.132 with SMTP id a4mr2768237pbq.517.1305721920246; Wed, 18 May 2011 05:32:00 -0700 (PDT) Received: from [192.168.1.201] ([115.119.107.2]) by mx.google.com with ESMTPS id t9sm1037988pbo.3.2011.05.18.05.31.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2011 05:31:59 -0700 (PDT) Message-ID: <4DD3BC25.2050009@gmail.com> Date: Wed, 18 May 2011 18:01:33 +0530 From: Raj Saini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: user@ofbiz.apache.org CC: Gavin Mabie Subject: Re: Running Ofbiz on Ubuntu with Apache front References: <005601cc149b$2108c110$631a4330$@mabie@urbannex.co.za> <4DD368F4.307@gmail.com> <006701cc1532$fb35b1d0$f1a11570$@mabie@urbannex.co.za> <4DD391D9.7030908@gmail.com> <006901cc1552$4919c930$db4d5b90$@mabie@urbannex.co.za> In-Reply-To: <006901cc1552$4919c930$db4d5b90$@mabie@urbannex.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:rajsaini@gmail.com] > Sent: 18 May 2011 11:31 AM > To: user@ofbiz.apache.org > 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: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 >> /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 >> 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 >>> >>> >>> >>> >