Apache Patch (version 1.3.10 - 1.3.14)
Modifications to "http_vhost.c" to enable multilingual domain name virtual hosting
Comment the following part of the original source code:
-------------------------------------------------------- Original Code in function fix_hostname(): -------------------------------------------------------- while (*src) { if (!ap_isalnum(*src) && *src != '.' && *src != '-') { if (*src == ':') break; else goto bad; } else { *dst++ = *src++; } } ----------------------------------------------------- |
Insert the following code:
----------------------------------------------------- Modified Code: ----------------------------------------------------- /*i-DNS patch for vhosting multilingual name*/ while (*src) { if(*src == ':') break; else *dst++ = *src++; } -------------------------------------------------------- |