a different kind of development with an attitude

Apache warns that your NameVirtualHost has no VirtualHosts

Okay. That’s a weird warning, but apparently it has to do with VirtualHost configuration that I’ve never bothered to read up on or get right, because ultimately in the end, it is just a warning and Apache still gets the whole thing right.

Still, now that I’m running my own VPS, I might as well get it fixed. So here’s it.

This apparently affects Apache configurations on hosts that only have 1 IP address for a variety of domain names or subdomains. The correct fix would be to declare a single NameVirtualHost as a wildcard and have the VirtualHosts sections in the configuration define the address using the ServerAdmin directive.

Tags: , , , , ,
Posted in Server · July 10th, 2008 · Comments (0)

Leave a Reply

Categories

  • 3G
  • Clients
  • connectivity
  • devlog
  • e71
  • education
  • mac
  • Me
  • Method
  • mobile
  • Others
  • presentation
  • Server
  • thoughts
  • Archives

  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • Meta

  • Log in
  • Valid XHTML
  • XFN
  • WordPress