Drupal Multi-Site

Discussion in 'Integration' started by ronniead, Jul 1, 2008.

  1. ronniead

    ronniead Member

    Joined:
    Dec 20, 2007
    Messages:
    118
    Hi,

    Drupal has a featue where you can install one code base, and then point the other domains to the correct folders. Ie, one code base, multiple domains. So it still uses the same database.

    Perhaps someone has got this working already with the current drupal plugin. Natuarally I would like a solution so that users can access the members area using the username and password created by amember.com - It would be great if they could login from that website, but if they have to login from the amember installation site, that's okay too...

    I found this link, which might be pointing in the right direction...but, not sure: http://arnab.org/blog/multisite-drupal-the-importance-of-the-sequence

    Additionally, If it makes it any clearer, here are the instructions on setting up drupal to support the multi-site feature:


    1. Create your new site directory in /sites folder
    2. Place a new, blank settings.php file in the directory.
    3. Edit the appropriate settings in your web server to point to the Drupal root directory
    4. Browse to the site to see the install script, proceed to step 2 of the install.txt.

    If one of your sites appears to be in a subdirectory of your domain, you will need to add a rewrite rule to .htaccess to enable clean URLs for it. For example, if you have one site at www.example.com and another at www.example.com/sub, add the following lines to .htaccess before the existing rewrite rules:

    Code:
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} ^/sub/(.*)$
    RewriteRule ^(.*)$ /sub/index.php?q=$1 [L,QSA]

    Can somone point me in the right direction?

    Thanks guys...

    Ronnie
  2. ronniead

    ronniead Member

    Joined:
    Dec 20, 2007
    Messages:
    118
    multi-site done...plugin work?

    Hi,

    I've setup multi-site drupal. Anyone know if the plugin works with multi-sites? Any tips?

Share This Page