VirtualHosts not working in Microsoft Edge
Posted by: Nicolaas (---.as13285.net)
Date: August 31, 2016 04:13PM

Hi WampServer,

Thanks for the excellent software which I've been using for many years now.

In recent updates, a red warning is shown on the localhost page to encourage users to set up virtual hosts instead of using projects.

I followed the instructions as in the sticky "WampServer 3 All you need to know". All worked fine in Opera, Firefox, IE (11), Chrome and Safari, but Microsoft Edge tells me it can't find the page when I visit a virtual host.

I uninstalled and reinstalled WampServer (as there is no "undo" to setting up a virtual host) and started again, this time using the manual instructions as in the Sticky "The NEED for VIRTUAL HOSTS". Again all worked well except in Microsoft Edge (but at least this time I could undo the changes!).

Could you please let me know if this is a known issue and, if so, what I can do to resolve it? My software details are

Windows 10 version 1607, 64 bit
WampServer 3.0.6
Apache 2.4.23
PHP 5.6.25
MySQL 5.7.14
WampServer icon is green

With thanks and best regards,

Nicolaas

Options: ReplyQuote
Re: VirtualHosts not working in Microsoft Edge
Posted by: Otomatic (Moderator)
Date: August 31, 2016 04:24PM

Hi,

> Microsoft Edge tells me it can't find the page when I visit a virtual host.

Microsoft, in its wisdom, and for the safety of its users and security reasons, has, basic, prohibits local site access with Edge. (Bullshit !)

To enable loopback and debug your localhost server, launch Edge and type in the address bar : about:flags then there are some options like this:
Quote
Edge
Developer Settings

X Use the Microsoft Compatibility Lists
X Allow localhost loopback (this may expose your device to risks)
These two options must be checked.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: VirtualHosts not working in Microsoft Edge
Posted by: Nicolaas (---.as13285.net)
Date: August 31, 2016 10:57PM

Thanks Otomatic - that's a super-fast response!

Oddly enough your suggestion using about:flags doesn't work for me - but I found an answer on the French version of the forum. I opened a cmd window and used

CheckNetIsolation LoopbackExempt -a -n="Microsoft.MicrosoftEdge_8wekyb3d8bbwe"

I know this should be equivalent to the more transparent flags approach...

Many thanks for your help!

Nicolaas



Edited 1 time(s). Last edit at 09/01/2016 02:35PM by Nicolaas.

Options: ReplyQuote


Sorry, only registered users may post in this forum.