I'm running WAMP on a WIN10 Laptop.
I can access http://localhost
and see the default info screen about the WAMPSERVER configuration.
I want to create a virtual host for my dev site.
So, in httpd.conf I've ensured that httpd-vhosts.conf is enabled.
In httpd-vhosts.comf I've added
I've restarted WAMP and see dev_site listed as a VirtualHost on http://localhost
I've added an entry in my hosts file for 127.0.0.1 dev_site and tested that a ping to dev_site resolves to the loopback address.
When I navigate to http://dev_site/
I get redirected to https://dev_site/?
and Chrome says "This site can't provide a secure connection"
I don't want to redirect to https, I just want to access the virtual host via http.
I created a simple Hello World html file. If I navigate to http://dev_site/a.htm
I get redirected to https://dev_site/public/login.htm?loginurl=%2Fa.htm&errormsg=Please%20log%20in%21
Why am I being redirected to https and why am I being sent to a non-existent /public/login.htm file?
There is obviously some config somewhere but I've not (knowingly) done anything other than add the Virtual Host.