Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 39758 invoked from network); 8 Feb 2011 12:12:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Feb 2011 12:12:01 -0000 Received: (qmail 7555 invoked by uid 500); 8 Feb 2011 12:11:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 7263 invoked by uid 500); 8 Feb 2011 12:11:54 -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 7248 invoked by uid 99); 8 Feb 2011 12:11:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 12:11:53 +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 tevans.uk@googlemail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-qy0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Feb 2011 12:11:47 +0000 Received: by qyk29 with SMTP id 29so4132106qyk.18 for ; Tue, 08 Feb 2011 04:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=hRuncLp/+kNSSohBwaHJSbV662BtLYSMhd8D5WpoygE=; b=D+MuZ7yEOumfLH6oJOE3GShscTpHvwA9LSHTBVDbGRZDEuI0l4pDUzfxaY6oxyXSez tvM4FlsV95rhmUmFR8dlu3BXXAVS+lQP2x8Zw1e0bkCZMrYENZo/DER2+DeoLRAxIZtp sJT0s75SRlJFo4SDzh6VraLOQCVQUvwbKUa5c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WEvDlt+UA02faFNqnMAgip77/MdMj4Ojng9O7m0AxGhijrieRHul8uncVBuLoR/eKH NpIq6GxBX7sJdx2mziTjjWBIG4/XWJuRWlR7wcOSg2YdKoaR0BsFMcmBogxwy+OUzaaR afz3a3iXHrhv4DfguzFBi9eLZZAqnLKamRCl4= MIME-Version: 1.0 Received: by 10.229.68.22 with SMTP id t22mr9601903qci.139.1297167086967; Tue, 08 Feb 2011 04:11:26 -0800 (PST) Received: by 10.229.246.8 with HTTP; Tue, 8 Feb 2011 04:11:26 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Feb 2011 12:11:26 +0000 Message-ID: From: Tom Evans To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [users@httpd] incoming IP connect On Tue, Feb 8, 2011 at 12:02 PM, Alain Roger wrote: > Hi, > > i have a host (windows 7) on wihich i have web server with apache/PHP/MySQL. > for now this computer has IP 192.168.1.2 (for example). > on the other hand i have a linux (Fedora 14) computer with IP 192.168.1.50 > (for example) which should access to the web server via IP 192.168.1.2. > > except Listen 192.168.1.2:80 in the httpd.conf file, what should i add in > the apache configuration file to allow external (other than 192.168.1.2) > connection (but internal to my local network so everything with > 192.168.1.xxx) to my web server (via browser) ? > i need help because i'm a little bit confused now. > > thanks a lot. > > -- > Alain > ----------------------------------------------------------- > Windows 7 x64 / Fedora 14 x64 > PostgreSQL 8.3.5 / MySQL 5 > Apache 2.2.16 > PHP 5.3.1 > > Apache doesn't control how packets get routed to your computer, it only controls what it does when they arrive. If you listen on *:80 or 192.168.1.2:80, then anything that can route packets to that server/port will communicate with apache. Eg, if you configure your router to forward packets coming to your external IP on port 80 to 192.168.1.2:80, then computers outside your network would now be able to access your server, but nothing changes in apache. If you have configured apache to listen on *:80 or 192.168.1.2:80, and cannot connect to it from another machine on the same subnet (192.168.1.50 for example), then you have some firewall issue between those two computers. Cheers Tom --------------------------------------------------------------------- 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