example vhost set up

  1. <VirtualHost *>
  2.         ServerAdmin webmaster@localhost
  3.         ServerName drupal57    
  4.         DocumentRoot /var/www/drupal-5.10/
  5.         <Directory /var/www/drupal-5.7/>
  6.                 Options Indexes FollowSymLinks MultiViews ExecCGI
  7.                 AllowOverride All
  8.                 Order allow,deny
  9.                 allow from all
  10.         </Directory>
  11.  
  12.         ErrorLog /var/log/apache2/drupal57.error.log
  13.  
  14.         # Possible values include: debug, info, notice, warn, error, crit,
  15.         # alert, emerg.
  16.         LogLevel warn
  17.  
  18.         CustomLog /var/log/apache2/drupal57.access.log combined
  19.         ServerSignature On
  20. </VirtualHost>