Hi. I had found the fix you point out some time ago and ya, that did it. Today I upgraded from Ubuntu 11.10 to 12.04 and then added another vhosts (a.k.a. siteEnabled) file. But I already had a file with Name VirtualHost *:80 and several vhosts. Wanted to keep things modular for a new domain so I made the new file. And I just copied the Name VirtualHost *:80 into the top of the new file. Well, the error "..no VirtualHosts .." reappear. The moral? Only declare once NameVirtualHost *:80
Hi. I had found the fix you point out some time ago and ya, that did it. Today I upgraded from Ubuntu 11.10 to 12.04 and then added another vhosts (a.k.a. siteEnabled) file. But I already had a file with Name VirtualHost *:80 and several vhosts. Wanted to keep things modular for a new domain so I made the new file. And I just copied the Name VirtualHost *:80 into the top of the new file.
ReplyDeleteWell, the error "..no VirtualHosts .." reappear.
The moral? Only declare once NameVirtualHost *:80