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

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.39 - PHP 7.3.5/7.2.18/7.1.29/7.0.33/5.6.40 - MySQL 5.7.26 - MariaDB 10.3.15
Wampserver 3.1.9 64 bit - Apache 2.4.39 - PHP 7.3.5/7.2.18/7.1.29/7.0.33/5.6.40 - MySQL 5.7.26/8.0.16 - MariaDB 10.3.15
PhPMyadmin 4.8.5 - 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: 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

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.39 - PHP 7.3.5/7.2.18/7.1.29/7.0.33/5.6.40 - MySQL 5.7.26 - MariaDB 10.3.15
Wampserver 3.1.9 64 bit - Apache 2.4.39 - PHP 7.3.5/7.2.18/7.1.29/7.0.33/5.6.40 - MySQL 5.7.26/8.0.16 - MariaDB 10.3.15
PhPMyadmin 4.8.5 - 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 »



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.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.9 32 bit - Apache 2.4.39 - PHP 7.3.5/7.2.18/7.1.29/7.0.33/5.6.40 - MySQL 5.7.26 - MariaDB 10.3.15
Wampserver 3.1.9 64 bit - Apache 2.4.39 - PHP 7.3.5/7.2.18/7.1.29/7.0.33/5.6.40 - MySQL 5.7.26/8.0.16 - MariaDB 10.3.15
PhPMyadmin 4.8.5 - 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


Sorry, only registered users may post in this forum.