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

The number of.... does not match the number of ServerName... (6 replies)

$
0
0
1 - Windows 7
2 - Wamp 3.0.5
3 - Apache 2.4.23
4 - PHP Version 7.0.8
5 - MySQL Version 5.7.13
6 - What color is the WampServer icon? Green

In the Wamp localhost web page I receive the following errors...

1. "The number of <Directory or </Directory> does not match the number of ServerName in C:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf file"

2. "The number of DocumentRoot does not match the number of ServerName in C:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf file"

I know Its happening because I have the following configuration in the conf file

<VirtualHost *:80>
ServerName localhost
Redirect "/" "[localhost];
</VirtualHost>

However this should not cause an error as all I'm doing is redirecting to https

Please note that this has been an issue in previous versions.

Thank you

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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