Koozali.org: home of the SME Server

How can i use special (danish) caracters in virtuel domainna

Birger Koopmann

How can i use special (danish) caracters in virtuel domainna
« on: January 15, 2004, 09:35:25 PM »
Is there a way to make ServerManager accept input of special danish caracters in virtuel domains? I tried to use % in front of the hexcode but ServerManager did not accept it.

Birger Koopmann

Kristian

Re: How can i use special (danish) caracters in virtuel doma
« Reply #1 on: January 16, 2004, 10:22:16 AM »
Im danish too, so i will be following this topic also.

 - Kristian

Kristian

Re: How can i use special (danish) caracters in virtuel doma
« Reply #2 on: January 16, 2004, 02:43:03 PM »
Maybe you should try to convert the danish letter to IDN..

This site may help you: http://api.webnic.cc/idnconversion.html

Please reply if do work or not.. see im danish too, and in line for at .dk domain with danish letters..

Best Regard
..kristian

Carsten

Re: How can i use special (danish) characters in virtuel dom
« Reply #3 on: January 17, 2004, 12:04:13 AM »
I have tried to convert my dansh domain and I get the same name as
I did with gratisdns.dk

SME 6 final don´t accept domain name with xn--ga........dk

I get this error when I try to make a virtual domain

 "The hostname must contain only letters, numbers, and hyphens, and must start with a letter or number."

and this error when I try to make a ibay
"The i-bay name "xn--ga.....dk" is too long. The maximum is 12 characters."

any ideas

Best Regard
..Carsten

Kristian

Re: How can i use special (danish) characters in virtuel dom
« Reply #4 on: January 17, 2004, 09:36:28 PM »
Oups!

I really need SME to host my xn--mne--l8n....dk thing

Bummer..

Regards
..kristian

Jens Kruuse

Re: How can i use special (danish) caracters in virtuel doma
« Reply #5 on: January 18, 2004, 12:34:43 PM »
You could try editing the script run by the Server-Manager. WARNING! I have not tried this myself. /etc/e-smith/web/functions/virtualdomains line 466 (e-smith 5.6U6)looks like a promising candidate for changing. Try to add the characters you need to the test string.

/Jens

Birger Koopmann

Re: How can i use special (danish) characters in virtuel dom
« Reply #6 on: January 18, 2004, 05:55:08 PM »
I succeded in makeing a virtuel domain with the name: "xn--kohullet-44a.dk" wich is the IDN-form af "økohullet.dk" translated with the form at: http://api.webnic.cc/idnconversion.html.

If your problem is the length of the name you can change it with this info:

In order to provide compatibility with Windows9x machines we have deliberately set these limits to twelve. You can change the maximum length of these by setting maxIbayNameLength, maxAcctNameLength and maxGroupNameLength. When unset the default is 12. To allow names as long as 15 characters for an ibay for example, execute the following commands:

  /sbin/e-smith/db configuration set maxAcctNameLength 15
  /sbin/e-smith/signal-event console-save

Ater installing the plugin for InternetExplorer from Verisign: http://idn.verisign-grs.com/index.jsp

Now i can accesses the virtuel dommain: "xn--kohullet-44a.dk" by writing "økohullet.dk" in the browsers adressbar.