Please read the upgrade instructions for users of 7.x.2 before updating the code to a 7.x.3 release.
升级到7.x.3release前请阅读upgrade instructions for users of 7.x.2
The Domain Access project is a suite of modules that provide tools for running a group of affiliated sites from one Drupal installation and a single shared database. The module allows you to share users, content, and configurations across a group of sites such as:
By default, these sites share all tables in your Drupal installation. The Domain Prefix module allows for selective, dynamic table prefixing for advanced users.
默认情况下,这些网站分享你的Drupal安装中的所有表[tables]。Domain Rpefix module[域前缀模块]允许选择性,适用于高级用户的动态表前缀。
Technical background/技术背景
The module uses Drupal's Node Access system to determine what content is available on each site in the network. Unlike other multi-domain modules for Drupal, the Domain Access module determines user access based on the active domain that the user is viewing, rather than which group or site the user belongs to. For more information about Node Access in Drupal, see
http://api.drupal.org/api/group/node_access/7
This module uses some advanced Drupal concepts and requires that you understand and control your site's DNS configuration. See this case-study or this more recent Row Eleven Wine Co. post for more details about using Domain Access.
You can also watch video of the DrupalCON Paris session "Managing Multiple Sites with Domain Access" (from 2009)./你也可以看这个。
If you are looking for a module to provide subdomains to users and groups and do not need to affiliate content, take a look at Subdomain.
Upgrading to/升级到 Drupal 7
If you use Domain Access on Drupal 6/如果你在用Drupal 6, these steps are required for a smooth site upgrade/这些是站点升级的必须步骤。
For users of 6.x.1 or 5.x., See the Domain Access UPGRADE.txt for complete instructions for upgrading to 6.x.2 or 7.x.
Release status
Drupal 7
The 7.x.2 branch is now bugfix only. It is stable and supported.
See the upgrade instructions for users of 7.x.2 before updating your site's code to 7.x.3.
Users of 6.x.2 versions may upgrade directly to 7.x.3 or 7.x.2.
Drupal 6
The Drupal 6 version is supported but now in bugfix-only mode. New features go into Drupal 7 and may get backported.
Drupal 5
Use at your own risk. Stable but unsupported.
Extension modules/扩展模块
The Domain Access module works by itself and needs no additional modules. Included in the download are these helper modules that extend the features of Domain Access.
Included in the Domain package for Drupal 6.x.2.0
Linked items are stand-alone modules in the Drupal 7 release/挂钩项目是独立的模块,在Drupal 7发布。
Stand-alone Projects/独立项目
To speed development of new features, I will be spinning certain aspects of the Domain Access suite into separate projects, starting after the stable 6.x.2.0 release.
Contributed Modules/贡献模块
A number of modules have been contributed by other developers to extend the features of Domain Access/其他开发商已经贡献域名访问的功能扩展。
Credits and examples
Development is sponsored by/发展赞助商 Palantir.net.
Original development was sponsored by Morris DigitalWorks with an assist from DZone.
Developer's API (Drupal 6) is online at http://api.therickards.com/api/domain