When my Ubuntu Apache server (apache2) starts up I get a warning message that reads:
[warn] NameVirtualHost *:80 has no VirtualHosts
however, the web server is working fine... could anyone explain what I might have wrong in my site's configuration to make it give me this warning?
the config file in question (located in
/etc/apache2/sites-available) reads like this (details removed for brevity)
<VirtualHost *> <Location /mysite> # config 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?
© Server Fault or respective owner