International domain IDN host
Posted by: HenAnd (85.191.199.---)
Date: May 03, 2019 03:05PM

Hello
I have been running WampServer for many years on Windows 7.
Now I have made a Windows 10 server and installed Wamp 3.1.8 (Apache 2.4.37).
Creating Virtual host with Interenational letters are giving me a headache.

au2tøj.dk is in IDN format: xn--au2tj-yua.dk

And it works fine, but localhost indicates that there is a syntax error, and the icon tray menu with "Your VirtualHosts" shows the domain with a red "access denied" icon.

Why is that ?

The IDN host works as it is supposed to.

Is there another way to create these virtual hosts that uses Internatioanl letters (IDN domains) ?

Henrik

Options: ReplyQuote
Re: International domain IDN host
Posted by: Otomatic (Moderator)
Date: May 03, 2019 03:19PM

Hi,

Right-Click -> Wamp settings -> Don't check VirtualHost definitions

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: International domain IDN host
Posted by: HenAnd (85.191.199.---)
Date: May 03, 2019 03:25PM

Thanks ...

That option I did not see.

But strange that something that is standard is treated this way......

Options: ReplyQuote
Re: International domain IDN host
Posted by: Otomatic (Moderator)
Date: May 03, 2019 04:13PM

Hi,

> But strange that something that is standard is treated this way......
The definitions of all VirtualHost are checked, including ServerName.
It is absolutely impossible to check the ServerName declared in all languages, which is why the solution chosen is not to check the VirtualHost.
I would also like to point out that although you specify that the IDN format is the standard, it is far from being supported by all the world's hosting providers.

Edit : For a future version of Wampserver, I will take a closer look at the PHP functions idn_to_utf8 and idn_to_ascii

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 05/03/2019 04:34PM by Otomatic.

Options: ReplyQuote
Re: International domain IDN host
Posted by: Otomatic (Moderator)
Date: May 04, 2019 03:49PM

Hi,

Wampserver update 3.1.9 will have the support of ServerName IDNA (Internationalized Domain Names in Applications)
Maybe not 100%, since I can only check ServerName with French diacritics like é, è ,ç à, ù, ê, î, etc. so, not for all languages.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.