Apache Virtual Host Configuration
Enable the virtual host config file in /usr/local/apache2/conf/httpd.conf by uncommenting it:
# Virtual hosts
Include conf/extra/httpd-vhosts.confEdit
/usr/local/apache2/conf/extra/httpd-vhosts.conf and add an entry for your new Drupal install:<VirtualHost *:80>
ServerName www.domain.com
#ServerAlias *.domain.com
DocumentRoot /var/websites/projectname/drupal-5.10
<Directory /var/websites/projectname/drupal-5.10>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/websites/projectname/logs/projectname-error_log
CustomLog /var/websites/projectname/logs/projectname-access_log combined
</VirtualHost>Lighttpd configuration
- Login to post comments