This is an old revision of the document!


multisite setup on debian

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.

to make a new site:

  • make a vhost in /etc/apache2/sites-available/new_site

<pre> <VirtualHost *>

      ServerAdmin pix@test.at
      DocumentRoot /usr/share/drupal5
      ServerName 127.0.0.1
      <Directory "/"> 
             Options FollowSymLinks
             AllowOverride None
      </Directory>
      <Directory "/usr/share/drupal5">
             Options Indexes FollowSymLinks MultiViews
             AllowOverride None
             Order allow,deny
             allow from all
      </Directory>
      ErrorLog /var/log/apache2/error.log
      LogLevel warn
      CustomLog /var/log/apache2/access.log combined
      ServerSignature Off

</VirtualHost> </pre>

  • drupal_notes.1205945992.txt.gz
  • Last modified: 2008-03-19 16:59
  • by 81.188.78.24