Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 347
  • Last Modified:

Apache VirtualHost Binding and NameVirtualHost

What`s the difference between the Apache directive Binding * and NameVirtualHost * ? Can I use them together or are the mutually exclusive ?

In the http.conf there of Apache 1.3.12 is an Binding entry which is commented out. I use VirtualHosts using NameVirtualHost myIP. Do I have to comment the Binding directive in ?

Thanks,
Tassilo
0
tequilla
Asked:
tequilla
1 Solution
 
izwizCommented:
Binding tells apache what IP addresses to Bind onto.  Default is all addresses I believe, this is useful when you have more than one network interface in a machine, or are using it only to develop locally for instance.

NameVirtualHost, controls what interface to use name based virtual hosting on.  * just does all, obviously apache should be bound to an interface you want to use namebased virtual hosting on.

If you only have one network interface just leave 'em both as *.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now