[documentation] Sharing content/users between Drupal sites (was Re: multi site docs)
Anisa
mystavash at animecards.org
Sat Oct 7 00:04:19 UTC 2006
Boris, your prejudices are showing, and they're pink, with flowery polka
dots. The world is vast, wide, and there are many crazy places where the
future is not bryght indeed. ;p
There were a few solutions for this using htaccess. Take a turn on the
forums for clean urls and multi site, they're bound to pop up (I
specifically remember one for dealing with directories). Also there as a
link in the handbook?
Perhaps we can turn this sage advice into:
Caution: Symlinks may mess up clean urls
?
Or perhaps I am reading this wrong, and actually, if you have a multi site
in a sub directory, Boris is suggesting that actually, Step 3 (the pointing
of domains) is not needed at all?
Anisa.
amused.
On 10/7/06, Boris Mann <boris at bryght.com> wrote:
>
> 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
> --
> Pending work: http://drupal.org/project/issues/documentation/
> List archives: http://lists.drupal.org/pipermail/documentation/
>
--
*********************************
www.AnimeCards.Org
16,000 scans and counting!
*********************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/documentation/attachments/20061007/948d403c/attachment.htm
More information about the documentation
mailing list