Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 61004 invoked from network); 20 Mar 2006 09:22:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Mar 2006 09:22:19 -0000 Received: (qmail 33738 invoked by uid 500); 20 Mar 2006 09:22:11 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 33717 invoked by uid 500); 20 Mar 2006 09:22:10 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 33706 invoked by uid 99); 20 Mar 2006 09:22:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 01:22:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of krist.vanbesien@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2006 01:22:10 -0800 Received: by wproxy.gmail.com with SMTP id i7so1015302wra for ; Mon, 20 Mar 2006 01:21:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tOV0k45jnkHerUo+oi8xj5IFKfbFbN2RNm6ZuZDebX8O+Jt5UdbVb6HfMBpvIxrk+ezpYedTLIX/UavN7pr7cBsKOg2l3pEPoJud67MS/nLudW8QlZ3ieZrwmVH2Shr5Txfnb10gXxUEedK50UQAK3PZzBqEV0QbRjVYaolsP3I= Received: by 10.54.89.14 with SMTP id m14mr4361228wrb; Mon, 20 Mar 2006 01:21:49 -0800 (PST) Received: by 10.54.139.14 with HTTP; Mon, 20 Mar 2006 01:21:49 -0800 (PST) Message-ID: <6ed6382b0603200121x67b005baqd3bd54897d8461bc@mail.gmail.com> Date: Mon, 20 Mar 2006 10:21:49 +0100 From: "Krist van Besien" To: users@httpd.apache.org In-Reply-To: <2a4ceee50603172244m35ca3a3fu2c0a514510c48946@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2a4ceee50603172244m35ca3a3fu2c0a514510c48946@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Diff b/w httpd and tomcat X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 3/18/06, Khawar Wahab wrote: > Need some help. I want to run a web-server on my home network and > experiment with different web technologies. I'm confused whether > Apache httpd is the server or tomcat is? I have hosted a JSP based > site using tomcat. > If tomcat is a web-server, why httpd? > if both are servers what's the diff? which is better? help!!! Tomcat is a Java Application server, that can also serve as a web server. The webserver functionality in Tomcat is not as full featured as offered by apache. There is nothing to stop you to host the static part of you website in Tomca. However I would not do this in a production environment for several reasons: - Security is better. Running an apache on port 80 as un unpriviliged user is a lot easier than doing the same with Tomcat. - Apache performs way better when serving static content. A usual setup is to have apache as the "front end" web server, runnign on port 80 and hosting static content, forwarding URLs for dynamic content to the Tomcat server. Have a look on the Tomcat site on how to do this. Krist -- krist.vanbesien@gmail.com Solothurn, Switzerland --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org