Re: Apache and IDN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Lunes, 27 de Octubre de 2008, Tom Evans escribió:
> On Mon, 2008-10-27 at 13:34 +0100, André Warnier wrote:
> > Adrián Ribao Martínez wrote:
> > > El Lunes, 27 de Octubre de 2008, André Warnier escribió:
> > >> Adrián Ribao Martínez wrote:
> > >>> Hello. I just bought a domain name containing spanish special
> > >>> characters. the domain contains the word: diseño
> > >>> but now I can't make it work with apache, after creating and
> > >>> configurating a virtualhost is not working.
> > >>>
> > >>> I changed the domain and everything was ok. But I need it to work
> > >>> with apache.
> > >>>
> > >>> Any help is apreciated. Thank you.
> > >>
> > >> Hi.
> > >> You need to be a bit more specific that "I can't make it work".
> > >> What is not working ?
> > >> - is the request not getting to Apache at all ?
> > >> - is it getting there but being processed by the "default" VirtualHost
> > >> ? - is it giving messages in the logfiles ?
> > >> - can you do an "nslookup" of your domain name and does it work ?
> > >> etc..
> > >
> > > The problem is that is being processed by the default VirtualHost. So I
> > > thought it was an apache issue.
> > >
> > > The log files are ok.
> >
> > Allright, that means that Apache is not recognising the ServerName in
> > the VirtualHost section.
> > Have you tried percent-escaping it ?
> > like :
> > ServerName lamadredel.dise%F1o.com
> >
> > I don't think that this is very correct, but it could possibly work.
> >
> > ServerName
>
> It shouldn't be percent escaped, it should be properly PUNYCODE encoded.
> You haven't explicitly stated what host name you registered, but if it
> were 'www.diseño.com', then the appropriate 'real' server name would be
> 'www.xn--diseo-rta.com' (do .com do IDN?)
> You should have been informed of this name when you registered the
> domain name - ie you type in diseño.com into your browser's address bar,
> it looks at it and thinks 'hmmm, okay, if I translate that into
> punycode, then it is xn--diseo-rta.com, let me lookup the DNS for that
> host and pretend that is the host name.' Apache knows nothing about
> punycode, nor IDN*, just that you requested '/index.html' on host
> 'xn--diseo-rta.com'.
>
> Cheers
>
> Tom

Thank you Tom, I just discovered this a couple of minutes ago :)
I didn't know this.

Regards

>
> * OK, some parts of it might do, I just dont know about it if they do.
> Regardless, it isnt relevant here :)
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



-- 
Adrián Ribao Martínez

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux