[documentation] Sharing content/users between Drupal sites (was Re: multi site docs)

Boris Mann boris at bryght.com
Fri Oct 6 23:23:28 UTC 2006


On 10/6/06, Larry Garfield <larry at garfieldtech.com> wrote:
> What I was trying to do:
>
> www.example.com/ - site A
> www.example.com/foo - site B
>
> Assume that $docroot is /var/www/html, where site A lives
>
> If I symlink $docroot/foo to $docroot, then site A and site B mostly work.
> However, once I enable clean URLs, site B becomes inaccessible.  The
> common .htaccess file was directing all paths to site A, even if the URL
> didn't properly make sense (eg, foo/admin/settings).  That still gave me the
> settings page for site A.

Drupal has  built in support for this.

Create sites/example.com.foo with it's own settings.php. And done :P
It's all documented directly in settings.php.

No symlinking. You almost never need symlinking unless you've got a
crazy control panel host that creates folders for subdomains.

-- Boris Mann


More information about the documentation mailing list