When my Ubuntu Apache server (Apache 2) starts up I get a warning message that reads:
[warn] NameVirtualHost *:80 has no VirtualHosts
However, the web server is working fine. What might I have wrong in my site's configuration to make it give me this warning?
The configuration file in question (located in
/etc/apache2/sites-available) reads like (details removed for brevity)
<VirtualHost *> <Location /mysite> # Configuration details here... </Location> # Use the following for authorization. <LocationMatch "/mysite/login"> AuthType Basic AuthName "My Site" AuthUserFile /etc/sitepasswords/passwd Require valid-user </LocationMatch> </VirtualHost>
Could the fact that I'm using
<Location> be a part of the problem?