On Fri, Apr 23, 2010 at 11:36 AM, Alexander Arul
What about isolating each web site from each other. What is the best way to ensure this?
Not really sure about what you mean. In each settings.php file, you point it to different database, unless you want to use the same db so this is another issue you want to look on. But from what you said earlier, the site not dependent on each other so it already isolated - being in different database.
One issue that I always had problem with multi-site setup is the 'files' folder. Since you are using single Drupal source, it mean you only have one DocumentRoot for all sites. Now you should decide how user would access the static 'files'. One way you could create sub folder for each domain, something like:-
files/ files/example1.com/ files/example2.com/
Then user would access let say building.jpg through www.example1.com/files/example1.com/building.jpg
It's a bit weird but you have to somehow structure you file system for the static content to leave. Another cleaner approach is to create alias in your apache VirtualHost setting (provided you have access to it or your webhost provide some way to achieve that).
You can set in your VirtualHost something like:-
<VirtualHost *> ServerName www.example1.com DocumentRoot /home/user/www <Directory "/home/user/www"> Order allow,deny Allow from all </Directory>
Alias /files /home/user/static/example1.com </VirtualHost>
This way, static content can still be access through www.example1.com/files/building.jpg