comment out this line in
root@l948:/etc/apache2# vim ports.conf
#NameVirtualHost *:80
Subscribe to:
Post Comments (Atom)
-
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
-
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
-
By install php-xml, you may enable it. [root@localhost html]# yum install php-xml check: [root@localhost html]# php -m [PHP Modules] bz2 cal...
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