/[drupal]/contributions/modules/multisite_manager/INSTALL.txt
ViewVC logotype

Diff of /contributions/modules/multisite_manager/INSTALL.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Tue Sep 4 20:32:09 2007 UTC revision 1.4, Fri Feb 8 20:25:25 2008 UTC
# Line 4  INSTALL INSTRUCTIONS Line 4  INSTALL INSTRUCTIONS
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:
# Line 74  How to get CLEAN URLS working with apach Line 76  How to get CLEAN URLS working with apach
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

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.2