On Thu, Jul 31, 2008 at 11:08, Bogdan Cristea <[EMAIL PROTECTED]> 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





-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to