Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

"new" errors in virtualhost (1 reply)

$
0
0
Hi there,
Being totally novice in this are I have nevertheless been able to setup a working local WAMP environment for my Joomla development a year ago. To my knowledge I had no error messages at that time and it has been working fine and the Wamp icon always green. I did however visit my "localhost"/Wamp-server screen and saw that I now have the following messages:

Your VirtualHost
localhost:443 - Not a Listen port
mb219dev:443 - Not a Listen port
Error(s) See below
Port used for the VirtualHost is not an Apache 'Listen port' in httpd.conf
Duplicate ServerName localhost mb219dev into c:/wamp/bin/apache/apache2.4.25/conf/extra/httpd-vhosts.conf

What is wrong and how should I correct it?





==> httpd.conf
I suppose it is these lines that are wrong (even though it think it has been working before)
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80





==> httpd-vhosts.conf looks like this
# Virtual Hosts
#
# 170815 none-ssl localhost
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot c:/wamp/www
<Directory "c:/wamp/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

# 170815 SSL localhost in parallel to none-ssl localhost
<VirtualHost *:443>
ServerName localhost
ServerAlias localhost
DocumentRoot c:/wamp/www
SSLEngine on
SSLCertificateFile "c:/wamp/bin/apache/apache2.4.25/conf/key/localhost.crt"
SSLCertificateKeyFile "c:/wamp/bin/apache/apache2.4.25/conf/key/localhost.key"
<Directory "c:/wamp/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

# 170815 none-ssl mb219dev
<VirtualHost *:80>
ServerName mb219dev
DocumentRoot "c:/wamp/www/mb219dev"
<Directory "c:/wamp/www/mb219dev/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

# 170815 SSL mb219dev in parallel to none-ssl mb219dev
<VirtualHost *:443>
ServerName mb219dev
DocumentRoot "c:/wamp/www/mb219dev"
SSLEngine on
SSLCertificateFile "c:/wamp/bin/apache/apache2.4.25/conf/key/mb219dev.crt"
SSLCertificateKeyFile "c:/wamp/bin/apache/apache2.4.25/conf/key/mb219dev.key"
<Directory "c:/wamp/www/mb219dev/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>