Current time: 05-06-2024, 11:48 PM Hello There, Guest! (LoginRegister)


Post Reply 
Problem to add the domain in .рф zone
Author Message
itfn Offline


Posts: 4
Joined: Nov 2010
Reputation: 2
Post: #1
Problem to add the domain in .рф zone
Problem: I Try to add the domain домен.рф but it gives an error: Wrong Top Level Domain syntax: рф!
This TLD is valid in the IANA Root Zone Database http://data.iana.org/TLD/tlds-alpha-by-domain.txt as XN—P1AI
How can I fix it?
11-12-2010 09:57 PM
Find all posts by this user Quote this message in a reply
worm Offline
Newbie
*

Posts: 7
Joined: Nov 2010
Reputation: 0
Post: #2
RE: Problem to add the domain in .рф zone
Disable TLD.

1) nano /var/www/ispcp/gui/include/input-checks.php
2) comment on the expression «/*_validates_tld($matches[3]))*/»
3) saved and added aliases without checking TLD =)

Successful administration!
11-13-2010 12:48 AM
Find all posts by this user Quote this message in a reply
itfn Offline


Posts: 4
Joined: Nov 2010
Reputation: 2
Post: #3
RE: Problem to add the domain in .рф zone
Yes, it's working, but I solve it another way :
In /var/www/ispcp/gui/include/input-checks.php search for function
_validates_tld($tld) and add to $pattern line with .рф zone

PHP Code:
$pattern =
      
'@^(?:
           (?:a[cdefgilmnoqrstuwxz]|aero|asia)|
              ...
              ...
              рф|  
              ...
              ([a-z]|[a-z]{7,})
       )$@ix'

11-13-2010 10:57 AM
Find all posts by this user Quote this message in a reply
worm Offline
Newbie
*

Posts: 7
Joined: Nov 2010
Reputation: 0
Post: #4
RE: Problem to add the domain in .рф zone
Excellent! Of course this solution is better!
11-15-2010 12:31 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)