Apache: _default_ virtualhost overlap on port 80

or Apache: _default_ virtualhost overlap on port 443

The size declaration place matters. Apache reads configuration settings from extras directory in alphabetic order. The error will appears if your virtual host was declared before httpd-vhost.conf 
The solution is quite simple. Just add to the httpd.conf before Listen 80 the line

NameVirtualHost *:80

If you use SSL virtual hosts add into httpd-ssl.conf file before Listen 443 the line

NameVirtualHost *:443


Enjoy!

No comments:

Asterisk AST_SORCERY function

 AST_SORCERY gets a field from a sorcery object. Sorcery is always created for PJSIP aors, endpoints and identifies in asterisk. It allows y...