Answer the question
In order to leave comments, you need to log in
NameVirtualHost has no VirtualHosts apache?
When restarting apache it throws an error,
[Mon Dec 07 06:39:12 2015] [warn] NameVirtualHost ip_adress:80 has no VirtualHosts
[Mon Dec 07 06:39:12 2015] [warn] NameVirtualHost ip_adress:443 has no VirtualHosts
... waiting [Mon Dec 07 06:39:13 2015] [warn] NameVirtualHost ip_adress:80 has no VirtualHosts
[Mon Dec 07 06:39:13 2015] [warn] NameVirtualHost ip_adress:443 has no VirtualHosts
sudo a2enmod deflate headers expires
Answer the question
In order to leave comments, you need to log in
you have somewhere in the config written NameVirtualHost ip_adress:80
, but nowhere
<VirtualHost ip_adress:80>
.....
</VirtualHost>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question