| 4 |
*Put multisite_manager directory in your modules directory--most likely |
*Put multisite_manager directory in your modules directory--most likely |
| 5 |
you will just put it in the master site's modules directory. |
you will just put it in the master site's modules directory. |
| 6 |
|
|
| 7 |
*If you will be configuring multisite_manager to create new |
*For those running versions less than Drupal 5.7 |
| 8 |
|
---------------------------------------- |
| 9 |
|
If you will be configuring multisite_manager to create new |
| 10 |
databases (rather than just alter table prefixes) you will need to |
databases (rather than just alter table prefixes) you will need to |
| 11 |
update your core drupal files with the latest patch in this bug |
update your core drupal files with the latest patch in this bug |
| 12 |
report: |
report: |
| 76 |
</Location> |
</Location> |
| 77 |
|
|
| 78 |
</VirtualHost> |
</VirtualHost> |
| 79 |
|
|
| 80 |
|
ALTERNATE for HTACCESS File |
| 81 |
|
========= |
| 82 |
|
This is an in-development configuration that works through only rewrites in a |
| 83 |
|
local .htaccess file |
| 84 |
|
1. create a symlink called 'site' to drupal's home directory, like this: |
| 85 |
|
% cd /var/www/drupal |
| 86 |
|
% ln -s . site |
| 87 |
|
2. Add the following to the top of the .htaccess file in the drupal directory |
| 88 |
|
RewriteEngine on |
| 89 |
|
|
| 90 |
|
#file access |
| 91 |
|
RewriteRule ^\w+/(modules|misc|files|themes|sites)(.*)$ ./$1$2 [L] |
| 92 |
|
|
| 93 |
|
RewriteRule ^/(modules|misc|files|themes|sites)(.*)$ ./$1$2 [L] |
| 94 |
|
|
| 95 |
|
#special php scripts |
| 96 |
|
RewriteRule ^\w+/(update.php|install.php|index.php)(.*)$ ./$1$2 [L,QSA] |
| 97 |
|
|
| 98 |
|
#site sub-section |
| 99 |
|
RewriteCond %{REQUEST_FILENAME} ^/var/www/drupal/site/.* |
| 100 |
|
RewriteCond %{REQUEST_FILENAME} !-f |
| 101 |
|
RewriteCond %{REQUEST_FILENAME} !-d |
| 102 |
|
RewriteRule ^\w+(/)?(.*)$ index.php?q=$2 [L,QSA] |
| 103 |
|
|
| 104 |
|
#### clean url stuff should be further down in default file |