[H-GEN] Apache and Virtual Hosts

Bruce Campbell bc at humbug.org.au
Tue Dec 14 20:43:16 EST 1999


[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics.  Please observe the list's charter.          ]

On Wed, 15 Dec 1999, Martin Pool wrote:

martin> > Surely you need
martin> > two different IP addresses so that Apache can work out which set of
martin> > pages to serve.
martin> 
martin> No, you don't.  As Bruce said, this is "name-based virtual hosting".  It
martin> saves you being larted by ip-space administrators because it doesn't
martin> waste an IP address for every trendy-little-e-company.com.

Compare also the advantages of not using abhorrent numbers of file
descriptors, which incidentally are implemented as linked lists on some
operating systems (ie, the more you have, the slower it takes to find that
particular file descriptor, which gets frustrating when site xyz is
filedescriptor 3123).

ie, one IP address, ergo, one file descriptor.  You could also put all of
your access logs into one file (ie, one more) and ditto for the error
logs. (now apache is using ~3 file descriptors total for an undefined
number of virtual domains, rather than using 3*undefined_number file
descriptors).

--==--
Bruce.

       The new 802.11 wireless is becoming more popular.  There seem to
       be 802 different incompatible cards for it.
		--draft-ymbk-termroom-op-02.txt                      


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list