Archive for December, 2006

YouTube - Cat Stuck in Tree on News

if you don’t find this funny on many levels, then there’s definitely something wrong with you.

drupal multisite setup with sub directories on single domain

I am testing out different installation profiles for Drupal 5.0 and wanted to create multiple “sites” on the same domain. Each site shares the same code base, but they are differentiated by sub-directories.

To set this up, creating a new sites folder is not enough. You also need to create a symbolic link in the physical directory structure (or perhaps add a mod_rewrite rule).

For example, if your main drupal site is setup at example.com, and you want to create a new site at example.com/new:

First, create the new sites folder and settings.php:
./sites/example.com.new/settings.php

Then create a symbolic link at the root folder of your drupal installation:

ln -s . new

so that new -> DRUPAL ROOT

This last step wasn’t not documented clearly in the Drupal Handbooks.

Now example.com loads main drupal site, but example.com/new loads the drupal installation page, prompting me for that site’s specific settings.

Since I plan to develop a handful of installation profiles, it will be really useful to dedicate each site to a specific profile.

Thus, I’ll end up with a handful of drupal sites:
example.com
example.com/profile1
example.com/profile2

and so on…

TextMate Blog » Subversion support and ssh key pairs

TextMate Blog » Subversion support and ssh key pairs

This article was a life-saver for getting painless svn_ssh:// connections to work.