Hi,

I am planning to use Drupal multi-site solution for my new site. It'll have a lot of sections, so I want to have a separate Drupal installation for each section. Like

example.com (main)
sec1.example.com
sec2.example.com
-----------------

But I want to use single (shared) user database for the site. So, I will share the main site's user related tables with each section's site. I want to use the main site's user profile URLs for each section like

example.com/user/1 FOR example.com (main)
example.com/user/1 FOR sec1.example.com (I think default will be sec1.example.com/user/1)
example.com/user/1 FOR sec2.example.com (I think default will be sec2.example.com/user/1)

and so on...!

Can anyone tell me how can I do this???

Kind Regards

Comments

vm’s picture

consider: http://drupal.org/project/domain

to share tables in a multisite install utilize settings.php
this slideshare was for D6 but may aid some: http://www.slideshare.net/jvandyk/multisite-van-dyk-walkah-presentation

DIMSKK’s picture

Thanks a lot for the links. This was not the exact solution I am looking for, but still I got a lot of useful ideas for a multi-site installation. Thanks.

Ok, for the sake of simplicity, I am thinking to go with the .htaccess rule.

Can anyone tell me what to put in the .htaccess file to do the following:

Redirect users from

subdomain1.example.com/users/xyz

to

www.example.com/users/xyz

Any ideas??

Regards!