Hi =)

I'm wondering how to install Drupal on my server, so that I can host several different sites sharing the same codebase and the same user-database. I'm sure this can be done, but how...

Thanks for your advice!

Andreas

Comments

vm’s picture

by adding a prefix in the settings.php file under the line that you altered for DB connection.
though i don't really suggest this method as the Database file can get fairly large, fairly quickly and can make upgrading and updating a headache.

white-raven’s picture

I'm not sure exactly how it works, but I think the OpenID module may solve this problem. If you support authentication via OpenID on both sites, and encourage any existing users to switch, you may not have to do anything else within Drupal to support a common user base.

-- White Raven

coreb’s picture

This doesn't help if the user doesn't already have an OpenID. The module only consumes OpedID's, so if the user has, for example, a Livejournal account, then it will work. But it doesn't support a user of a drupal site logging in with an OpenID.