Tags: apache
_default_ VirtualHost overlap on port 80, the first has precedence
In : system, Posted by admin on Sep.09, 2008
Try to set up apache server with virtual hosts. When I restart the apache server, it keeps saying that:
_default_ VirtualHost overlap on port 80, the first has precedence
The problem is that the NameVirutalHost is commented. Make sure your NameVirtualHost line in httpd.conf is uncommented as:
NameVirtualHost *:80
Apache DocumentRoot does not exist
In : system, Posted by admin on Jul.07, 2008
Try to setup Apache virtual host on a new machine.
Apache keeps complain about about the DocumentRoot does not exist and cannot write the log file. My document is using capistrano to do symbol link.
It turns out the problem is SELinux.
Do:
echo 0 > selinux/enforce
It will disable SELinux and fix the problem. I have not look into why yet… May be I should.