Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 38767 invoked from network); 8 Sep 2006 12:49:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Sep 2006 12:49:20 -0000 Received: (qmail 98449 invoked by uid 500); 8 Sep 2006 12:49:10 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 97703 invoked by uid 500); 8 Sep 2006 12:49:09 -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 97692 invoked by uid 99); 8 Sep 2006 12:49:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2006 05:49:08 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sergeyfd@gmail.com designates 64.233.166.180 as permitted sender) Received: from [64.233.166.180] (HELO py-out-1112.google.com) (64.233.166.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Sep 2006 05:49:08 -0700 Received: by py-out-1112.google.com with SMTP id 39so677608pyu for ; Fri, 08 Sep 2006 05:48:47 -0700 (PDT) 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=ap0f6wF4xvuWQqRe+RDnHkQVThjGj/gWWZCBNwxtm3HhAKGxzA6C7mIeF7gWOXPBEUBG5NQdP0j+MWXcdvYA7MoXKdITS1o6cWITT7cvNgVBf5olTXh+290x3E3pAxuxq2DCCUaxwTUIQFQCDWMIVlHOxWDAOpF0qyKDwiLZl2o= Received: by 10.35.69.11 with SMTP id w11mr2850926pyk; Fri, 08 Sep 2006 05:48:47 -0700 (PDT) Received: by 10.35.113.1 with HTTP; Fri, 8 Sep 2006 05:48:47 -0700 (PDT) Message-ID: <868cbbaa0609080548w25d000ech8b931e4f830972b1@mail.gmail.com> Date: Fri, 8 Sep 2006 06:48:47 -0600 From: "Serge Dubrouski" To: users@httpd.apache.org In-Reply-To: <6205558.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6205558.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] configuring apache and tomcat via mod_jk X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/8/06, jbashir wrote: > > Configuring apache and tomcat via mod_jk is done by installing apache on port > 80 and tomcat on port 8080, and when we write http://localhost/ it's apache > server which runs by default (being installed on port 80), and then through > mod_jk.conf file we instruct the server when to switch to tomcat. > > But I have my settings opposite to it. I have tomcat on port 80 and apache > on port 8080. So when I write http://localhost/, it's tomcat which runs > first (thats what my application demands), and then on choice I want to run > php module. Is it possible to do that and how? What changes I will have to > make in mod_jk.conf and httpd.conf ? Any suggestions? I am using Apache > 1.3.37 and Tomcat 5.0.28. > > Thanks So you weren't able to put them on separate boxes? Ok, to change port in Tomcat look for tar in server .xml and change pro there. To chanhge port in Apache look for Listen in httpd.conf and change port there. --------------------------------------------------------------------- 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