For the websockets configuration, the sample apache2.conf for Apache 2.4 (i.e.
Ubuntu 14.04, etc.) contains NameVirtualHost entries that are no longer
needed.
When starting apache2-websockets, you may see warnings like:
AH00548: NameVirtualHost has no effect and will be removed in the next
release /etc/apache2-websockets/apache2.conf:53
Remove the NameVirtualHost entries and these warnings go away.
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
# WebSockets via SSL
Listen 7682
-NameVirtualHost *:7682
<VirtualHost *:7682>
DocumentRoot /var/www
ServerName localhost:7682
# WebSockets via non-SSL
Listen 7680
-NameVirtualHost *:7680
<VirtualHost *:7680>
ServerName localhost:7680
ServerAlias 127.0.0.1:7680