October 23rd, 2013, 08:25 AM
Where are these apache2 errors stored in?
service apache2 restart
How can I find the location of this error? It is obviously a file somewhere. Instead of Googling for copy paste solution I want to find where this is coming from.
Restarting web server apache2
[Wed Oct 23 13:15:57 2013] [warn] VirtualHost 126.96.36.199:80 overlaps with VirtualHost 188.8.131.52:80, the first has precedence, perhaps you need a NameVirtualHost directive
I though I look for error log in conf file: so I checked in apache2.conf and I see this line:
which does nto really help me.
October 23rd, 2013, 12:32 PM
With Ubuntu the virtualhosts are in sites-enabled (and sites-available) and the second one it loaded is where the error occurred. Apparently you don't have a NameVirtualHosts directive somewhere - my Ubuntu 12.04.3 has it in ports.conf.