The
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!
<VirtualHost> block for the existing host. The ServerNameand DocumentRoot included in this virtual host should be the same as the global ServerName and DocumentRoot. List this virtual host first in the configuration file so that it will act as the default host.#first VirtualHost is default
<VirtualHost *:80>
ServerAdmin webmaster@firsthost.tdl
DocumentRoot /var/www/html
ServerName firsthost.tdl:80
ServerAlias localhost
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log common
</VirtualHost>
LogFormat "%v %l %u %t \"%r\" %>s %b %f" common
AST_SORCERY gets a field from a sorcery object. Sorcery is always created for PJSIP aors, endpoints and identifies in asterisk. It allows y...