Hi all,
I've upgraded WAMP Server this morning to 3.3.1 and now I'm getting errors that Port 443 is no longer binding and that the name of the default server must be localhost. I think I have configured everything properly (but obviously not). NOTE: Everything worked, including port 443, before I upgraded, so I'm not sure what would have changed.
I'm on Windows 2019, this server is only running Apache 2.4.27 (database is on a separate server). Running WAMP 64 bit and my WAMP Icon is RED.
httpd-vhosts (I've removed/anonymised the info):
# Virtual Hosts
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "${INSTALL_DIR}/www/application"
ServerName application.orgname.ca
ServerAlias [website.ca]
SSLEngine on
SSLCertificateFile "C:/wamp64/bin/apache/apache2.4.27/conf/certificate.crt"
SSLCertificateKeyFile "C:/wamp64/bin/apache/apache2.4.27/conf/certificate.key"
SSLCertificateChainFile "C:/wamp64/bin/apache/apache2.4.27/conf/DigiCertCA.crt"
Redirect /secure [website.ca]
RewriteEngine On
RewriteRule (.*) []%{SERVER_NAME}/$1 [R,L]
<Directory "${INSTALL_DIR}/www/application">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride all
Order allow,deny
Require all granted
Allow from all
</Directory>
</VirtualHost>
Here's the LISTEN portion of httpd.conf:
Listen 0.0.0.0:80
Listen [::0]:80
Listen 0.0.0.0:443
Listen [::0]:443
And my httpd-ssl.conf has
Listen 443
I've tried deleting the Listening Port 443 through the WAMP Menu but I get an error (which just says it can't be completed).
Syntax Check for Apache is OK, and no errors come up in the WAMP Menu.
Windows Event Viewer is giving me:
>>> (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443
.
What else am I missing?
Chris
I've upgraded WAMP Server this morning to 3.3.1 and now I'm getting errors that Port 443 is no longer binding and that the name of the default server must be localhost. I think I have configured everything properly (but obviously not). NOTE: Everything worked, including port 443, before I upgraded, so I'm not sure what would have changed.
I'm on Windows 2019, this server is only running Apache 2.4.27 (database is on a separate server). Running WAMP 64 bit and my WAMP Icon is RED.
httpd-vhosts (I've removed/anonymised the info):
# Virtual Hosts
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "${INSTALL_DIR}/www/application"
ServerName application.orgname.ca
ServerAlias [website.ca]
SSLEngine on
SSLCertificateFile "C:/wamp64/bin/apache/apache2.4.27/conf/certificate.crt"
SSLCertificateKeyFile "C:/wamp64/bin/apache/apache2.4.27/conf/certificate.key"
SSLCertificateChainFile "C:/wamp64/bin/apache/apache2.4.27/conf/DigiCertCA.crt"
Redirect /secure [website.ca]
RewriteEngine On
RewriteRule (.*) []%{SERVER_NAME}/$1 [R,L]
<Directory "${INSTALL_DIR}/www/application">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride all
Order allow,deny
Require all granted
Allow from all
</Directory>
</VirtualHost>
Here's the LISTEN portion of httpd.conf:
Listen 0.0.0.0:80
Listen [::0]:80
Listen 0.0.0.0:443
Listen [::0]:443
And my httpd-ssl.conf has
Listen 443
I've tried deleting the Listening Port 443 through the WAMP Menu but I get an error (which just says it can't be completed).
Syntax Check for Apache is OK, and no errors come up in the WAMP Menu.
Windows Event Viewer is giving me:
>>> (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443
.
What else am I missing?
Chris