RE: Custom hostname and Apache 2.2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I do not know whether there is anything about this in the doc. 

Looking at the source code (server/util.c and server/vhost.c) I figured out that Apache at some point tries to resolve the address associated with the host name on which it is running. Normally this does not pose any problem because that info is in the /etc/hosts file, but in your case, since both the host name and the associated IP address are served dynamically by DHCP and does not resolve through DNS, you were stuck.

So the important thing is for Apache to resolve the address associated with the host name. In your case I figured that the easiset way to achieve this was to add the host name to an existing entry in /etc/hosts.

-ascs
________________________________

De : Hans Tovetjärn [mailto:hans@xxxxxxxxxxxx] 
Envoyé : mardi 18 décembre 2007 09:30
À : users@xxxxxxxxxxxxxxxx
Objet : Re:  Custom hostname and Apache 2.2.6


Hello! 

Thank you, it worked! It does give me the warning, but that is perhaps not a big issue. This is really a jungle to me right now though, in what part of the Apache documentation can I read more about this?


---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux