« Cron notes with Marsh | Main | Code Snippets for Rules »

October 28, 2010

Virtual hosts and multisites


symbolic links from one directory to core files in another

Virtual hosts

Sites available
$ ls -al /etc/apache2/sites-available/

$ ls -al /etc/apache2/sites-enabled/

Apache modules enabled or available
must have mod-rewrite enabled

To get site into sites-available
cp default foobar.example.com

Move a website from available to enabled
sudo a2ensite [site URL]

Link to Inigo's blog entry on this

Posted by kkwaiser at October 28, 2010 03:24 PM


Login to leave a comment. Create a new account.