Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
?
Comment | File | Size | Author |
---|---|---|---|
#5 | parallel-567518.patch | 6.63 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedIt 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 inputimg
; and using php kill the www part off ofglobal $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.Comment #2
XerraX CreditAttribution: XerraX commentedhmm we are using only one database. i hope this feature will be implemented in the future. this sounds like a really nice module.
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedI'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)
Comment #4
XerraX CreditAttribution: XerraX commentedWell its one month now, will there be a patch soon? I am really interested in this.
Greetz XerraX
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedUnoptimized & not compatible with boost. Testing of the concept
Comment #6
XerraX CreditAttribution: XerraX commentedSince i want to use this with boost, could you please try to explain me why this is not comaptible?
Comment #7
XerraX CreditAttribution: XerraX commentednevermind, i will split my sites because i am getting more and more problems.
Comment #8
Wim LeersWill be obsoleted by #933942: Merge Parallel and CDN modules: migration path.