Hi,
I have been reading about multisite setup and trying all possibilities stated in the great documentation-part of Drupal 4.7.
I didn't find a solution for my problem and so I tried a lot of things myself.
All the posts seen about this, I hope other people can benefit from my trouble.
I will try to be so specific as possible.
1) First you need to set up the master and slave sites. I did this with only one codebase.
So I have one Mastersite: www.master.com and 2 slave sites www.slave1.com and www.slave2.com
(I used Symlink to get the slavesites working. And I use the sites directory for different themes and a different settings.php)
My slave-site settings.php database setup is:
$db_prefix = 'GR_';
$db_name = 'SUR_'; $db_name = 'SUL_'; for the slave2.com
$db_prefix = array(
'default' => 'GR_',
'access' => $db_name,
'accesslog' => $db_name,
'node_access' => $db_name,
'cache' => $db_name,
'permission' => $db_name,
'term_access' => $db_name,
'term_access_defaults' => $db_name,
);
As you can see only the access tables are site-specific.
The modules:
Taxonomy Access Control AND
Nodeaccess
Need to be installed, activated and up-and-running.
2) Create content on the master site.
make content what you also want to post on slave-site, or want to be able to deny access on at slave site.