![]() This code will load the Domain Access bootstrap routines that determine how your site is being requested. This step is no longer required if using Drupal 8.įor Domain Access to work, you must add some code to your settings.php file. NOTE: After you change your cookie value, you will need to logout and log back in for the new cookie to take effect. If your domains do not share the top-level, then you may need to login to each site separately or use a module such as one of the Single Sign On solutions. In order to provide for login across your active domains, you must set the $cookie_domain value to the string indicating your root domain. That is, if you login from the cookie will be set from the domain ' However, a cookie from is not valid on. $cookie_domainīy design, Drupal cookies are set for the current website on login. ![]() If you use Domain Prefix, normally you will not set $db_prefix, as that module will do it for you. Note that the Domain Prefix module (included in the package for Drupal 6) allows for dynamic table prefixing via the UI. $db_prefix can be used normally with Domain Access. The $db_prefix value allows for table prefixing of your Drupal database in the event that you run more than one site from a single database. $databases can be used normally with Domain Access. The $databases value allows for table prefixing of your Drupal database in the event that you run more than one site from a single database. If you need to install Drupal in a subdirectory and wish to hide that subdirectory from site visitors, you may set $base_url dynamically. (For the technical, this happens in the conf_init() function). Since multiple domains are involved, Drupal needs to be allowed to set this value. With Domain Access, you cannot set this value manually. ![]() The $base_url setting is normally not set. Please see the README.md files for each module in the download. These instructions do not apply to Drupal 8. As a result, some options in your settings.php file need to be considered carefully. ![]() Remember, the Domain Access module lets you run multiple sites from a single installation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |