Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35880 invoked from network); 14 Jul 2009 14:44:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jul 2009 14:44:57 -0000 Received: (qmail 93878 invoked by uid 500); 14 Jul 2009 14:44:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 93783 invoked by uid 500); 14 Jul 2009 14:44:58 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 93645 invoked by uid 99); 14 Jul 2009 14:44:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 14:44:58 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mailing.list.mail.id@gmail.com designates 209.85.200.175 as permitted sender) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 14:44:48 +0000 Received: by wf-out-1314.google.com with SMTP id 28so999716wff.12 for ; Tue, 14 Jul 2009 07:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=v+PKajZoz396A1Jx5wduM9QhLMX16AL81GBh8s2MDuw=; b=mEn6BniS8fYYrZg745OA0vdcKEBJUN7p8JVTPWqo8z5CWxt2hd2MGv5AbKVCfheiOI uoLzPSKDA15TpEXYXM/Cqsj+fo1HpRq8fpRqDKqnFTyhpWvhzs/Jei0zesnNms2d5Pso 8OLJeAm/WROo+mtCHh+s3ZQ6qbQz8W8wcfGs8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NcraSr95ev68qtKHK+CdM671sc2dAdNVY6AhJV39oubf/8RS6DGBgw4uWFGXokzzSx jPG48qgHmrgVlZpuw5eV1DRtBNIGLTFdKRwQLWBfHHDQ53QdaRrjfx6IEc3Bg3IPMoXe ABg4uqk5huXSpG8aR5sHqoYOi5yGr5+h/M1a0= MIME-Version: 1.0 Received: by 10.142.140.6 with SMTP id n6mr1613041wfd.69.1247582666648; Tue, 14 Jul 2009 07:44:26 -0700 (PDT) Date: Tue, 14 Jul 2009 20:44:26 +0600 Message-ID: <848a55560907140744m2b68822k5fa8beff9c07c6e7@mail.gmail.com> Subject: Configuring Apache Web Server with Tomcat From: alee amin To: users@httpd.apache.org, Tomcat Users List Content-Type: multipart/alternative; boundary=000e0cd2dc58ac6f78046eab79b1 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd2dc58ac6f78046eab79b1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I am trying to configuring apache webserver with tomcat using AJP but i am not sure am i doing it right or not. Here are the steps that i followed - Enabled required module in httpd.conf file LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so - Added the ifModule condition in httpd.conf file ProxyPass / ajp://localhost:8009/ ProxyPassMatch ^(/photos/.*\.jpg)$! Alias /photos "F:\projects\AL\Photos" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all - Added the worker.properties file to Catalina_home/conf directory with follwoing properties worker.list=testWorker worker.testWorker.port=8009 worker.testWorker.host=localhost worker.testWorker.type=ajp13 - And finally adding the connector in server.xml file of tomcat Now i am trying to test to browse some JSP file at the following location " http://localhost:8009/examples/jsp/jsp2/el/basic-arithmetic.jsp" which is working fine. but i want to browse this file at http://localhost/examples/jsp/jsp2/el/basic-arithmetic.jsp. Have i done it right or there is something else that i can do? ..alee http://techboard.wordpress.com --000e0cd2dc58ac6f78046eab79b1--