Does this module support i18n by Domain name?

We use .info for german and .org for english.

What happens to the english .org page if we enter

img.domain.info
js.domain.info
css.domain.info

?

CommentFileSizeAuthor
#5 parallel-567518.patch6.63 KBmikeytown2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

It depends on your server configuration... if your using a separate database, then you should be able to set it up with no issues. Odds are your using a single database to power multiple domains. To make this work the best option IMHO would be to store the first part of the sub domain and build the rest dynamically. So instead of inputting //img.domain.info you would input img; and using php kill the www part off of global $base_root; and use that. If you have other subdomains, then it could get ugly... I need a way to get the root DNS name somehow.

XerraX’s picture

hmm we are using only one database. i hope this feature will be implemented in the future. this sounds like a really nice module.

mikeytown2’s picture

I'm got a good answer on how to do this, so it should be out in a week or so...
http://stackoverflow.com/questions/1375647/get-root-dns-entry-from-php-s...

checkdnsrr() is the key component to solving this issue. (note to self: include windows code)

XerraX’s picture

Well its one month now, will there be a patch soon? I am really interested in this.

Greetz XerraX

mikeytown2’s picture

Status: Active » Needs review
FileSize
6.63 KB

Unoptimized & not compatible with boost. Testing of the concept

XerraX’s picture

Since i want to use this with boost, could you please try to explain me why this is not comaptible?

XerraX’s picture

nevermind, i will split my sites because i am getting more and more problems.

Wim Leers’s picture

Status: Needs review » Closed (won't fix)