Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 18921 invoked from network); 4 Aug 2008 09:04:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 09:04:36 -0000 Received: (qmail 64144 invoked by uid 500); 4 Aug 2008 09:04:26 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 63251 invoked by uid 500); 4 Aug 2008 09:04:24 -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 63240 invoked by uid 99); 4 Aug 2008 09:04:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 02:04:24 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of krist.vanbesien@gmail.com designates 209.85.198.243 as permitted sender) Received: from [209.85.198.243] (HELO rv-out-0708.google.com) (209.85.198.243) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 09:03:29 +0000 Received: by rv-out-0708.google.com with SMTP id c5so2026905rvf.24 for ; Mon, 04 Aug 2008 02:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=J4fEX3pUEgOe1w+xaF4BuylvKmhAMlpixUd7neVGsu8=; b=P1NLUm8E6bggjxaFW7mSacnKg4FeuBktVPUeEw/brwAZC7G+IFA09fJdCuBrE2DB+5 yk4hEKw22s0VF0MoTrXft7cBeFNFnJRNUazhu4WRGETI3jlZgihIS8j2B2eyRjQZvbsy lewMZjGt9ywSW5ElmMI6/V9lWLqet1/JSDfzU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=rVawZ3JPg203ZMNpg71RlE+3GnLr+bxw0U3oyD8Iprv1BD4MX0egbIHlVULZkMjct2 iE/zKyWECwmAMjHI+VKFCV1JBrL8Q6MvCAKhWoxDQGXcEuZ6/OgZDYKtvQT7L7HmBmX/ 3qIwrJXaHr3VKRxJNTSFLnNuC8/pyFDcVpfCs= Received: by 10.140.249.20 with SMTP id w20mr7426769rvh.103.1217840619330; Mon, 04 Aug 2008 02:03:39 -0700 (PDT) Received: by 10.141.209.21 with HTTP; Mon, 4 Aug 2008 02:03:39 -0700 (PDT) Message-ID: <6ed6382b0808040203l16826c56ke7b2e933ab8ae81d@mail.gmail.com> Date: Mon, 4 Aug 2008 11:03:39 +0200 From: "Krist van Besien" To: users@httpd.apache.org In-Reply-To: <200807311208.20721.cristeab@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200807311208.20721.cristeab@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] How to setup http links on local machine with dynamically alocated IP address On Thu, Jul 31, 2008 at 11:08, Bogdan Cristea wrote: > For a Apache server in a local LAN with DHCP I want to use in a http link > the actual IP address of a machine. Is this possible when the IP address is > dynamically allocated? > Example: I want to replace in "http://localhost/~bogdan/" localhost with the > actual IP address without needing to change each time the link when the IP > address changes. you can always use the IP address, eg: http://192.168.1.12/some/page.html But if your IP address changes, than you have to change the IP you use in the link. If you keep using the old IP your browser will not be able to contact your server. There is no solution to this. However, just use relative links on your webpages, and you should be fine. Krist -- krist.vanbesien@gmail.com krist@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- 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