Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 50246 invoked from network); 17 Sep 2007 13:08:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2007 13:08:30 -0000 Received: (qmail 30597 invoked by uid 500); 17 Sep 2007 13:08:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 30586 invoked by uid 500); 17 Sep 2007 13:08:13 -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 30575 invoked by uid 99); 17 Sep 2007 13:08:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 06:08:13 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jslive@gmail.com designates 209.85.146.183 as permitted sender) Received: from [209.85.146.183] (HELO wa-out-1112.google.com) (209.85.146.183) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Sep 2007 13:08:10 +0000 Received: by wa-out-1112.google.com with SMTP id k22so1836481waf for ; Mon, 17 Sep 2007 06:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=yveKW4G2BPL2HS4IqgVEKpOzsXolgk1y1/tgIAH4Q8s=; b=lLeuFxo7L6IB+aqz1LJ1HrVzvgVBWZQnOYTS6IBYbetAB5upFl4kGKp4YLFOltAfO7dWeTsUZze0tjw4F7Ja3jMQUUcBEEjgwccxpBWlGnjpl/biCkZTjK3Geg+Nq6zvd/Bx0aAgNcgTQpzM+ltY7hDK/6pfuhV97OTghx8wFd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=CL24f9bCfJ3vdqKLxCKVcnD1Pi8cK1lzVOEbvLKgjXQS7aV+TjvTsO1tpqG5h+oge5gTezmL3UMhtJPD5XVH/Ytq0iHafq74WN2yj14N/c1tRhUCl6BX6IfjmSzI6dCdU9kLMZHQiSEJrqckN3FofOkQACiIl2QgofPwuY1KdxI= Received: by 10.115.59.4 with SMTP id m4mr631805wak.1190034469623; Mon, 17 Sep 2007 06:07:49 -0700 (PDT) Received: by 10.114.53.5 with HTTP; Mon, 17 Sep 2007 06:07:49 -0700 (PDT) Message-ID: Date: Mon, 17 Sep 2007 09:07:49 -0400 From: "Joshua Slive" Sender: jslive@gmail.com To: users@httpd.apache.org In-Reply-To: <46EE71C5.3000807@ima.sp.gov.br> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9044_6770221.1190034469616" References: <46EAE1E6.2000403@ima.sp.gov.br> <46EAF921.5060306@pyxisinnovation.com> <20070915130338.321840@gmx.net> <46EE71C5.3000807@ima.sp.gov.br> X-Google-Sender-Auth: ccb36ace22843240 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Direct script to specific port... ------=_Part_9044_6770221.1190034469616 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 9/17/07, Rodolfo De Nadai wrote: > > I think this couldn't help me... because, if i restart apache and the > virtual hosts they will try to access a port that will be used by my > script... > > Is there a way to direct a specific script to run on a diferent port > than the default configurated in http.conf?? > > you can specify listening ports based on virtual hosts,rather than the application scripts. > > Your question is way under-specified in the first place. What does it mean to have your script "run on a diferent (sic) port"? If your script is interacting directly with the network (not through apache), you should just be adjusting your script to use whatever port you want. Joshua. ------=_Part_9044_6770221.1190034469616 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 9/17/07, Rodolfo De Nadai <rodolfo.denadai@ima.sp.gov.br> wrote:
I think this couldn't help me... because, if i restart apache and the virtual hosts they will try to access a port that will be used by my script...

Is there a way to direct a specific script to run on a diferent port 
than the default configurated in http.conf??

you can specify listening ports based on virtual hosts,rather than the application scripts.

Your question is way under-specified in the first place. What does it mean to have your script "run on a diferent (sic) port"? If your script is interacting directly with the network (not through apache), you should just be adjusting your script to use whatever port you want.

Joshua.
 

------=_Part_9044_6770221.1190034469616--