Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
drupal_notes [2008-03-19 17:14] 81.188.78.24drupal_notes [2008-03-19 17:18] 81.188.78.24
Line 7: Line 7:
  
 the drupal5 package installs drupal in /usr/share/drupal5, with config files in /etc/drupal/5. with a multi-site setup, this is the codebase that will be used by all of the sites. in theory it will be updated by the package-manager. the drupal5 package installs drupal in /usr/share/drupal5, with config files in /etc/drupal/5. with a multi-site setup, this is the codebase that will be used by all of the sites. in theory it will be updated by the package-manager.
 +
 +the following is based on http://drupal.org/getting-started/5/install/multi-site
  
 to make a new site: to make a new site:
-  * make a VirtualHost in /etc/apache2/sites-available/new_site+ 
 +make a VirtualHost in /etc/apache2/sites-available/new_site
  
 <file> <file>
Line 51: Line 54:
 the name of the directory needs to be the domain under which the site will be accessed. the name of the directory needs to be the domain under which the site will be accessed.
  
-make sure that both the dbconfig.php and settings.php files are writeable by www-user.+make sure that both the dbconfig.php and settings.php files are writeable by www-data.
  
 <code> <code>
 +chown .www-data /etc/drupal/5/sites/dbconfig.php /etc/drupal/5/sites/settings.php
 chmod g+w /etc/drupal/5/sites/dbconfig.php /etc/drupal/5/sites/settings.php chmod g+w /etc/drupal/5/sites/dbconfig.php /etc/drupal/5/sites/settings.php
 </code> </code>
Line 62: Line 66:
 78.46.38.135 new-site.example.com 78.46.38.135 new-site.example.com
 </code> </code>
 +
 +//possibly you also need to add this to the server /etc/hosts file???//
  
 now if you visit the new-site.example.com, it should run the installation script and set up the database. now if you visit the new-site.example.com, it should run the installation script and set up the database.
  • drupal_notes.txt
  • Last modified: 2008-03-31 17:24
  • by 81.188.78.24