Quick news

  • 2012-08-19: Working on the new Drupal 8 Entity system at Drupalcon Munich
  • 2012-06-15: Working on the new Drupal 8 Entity system at DrupalDevDays Barcelona
  • 2012-03-23: Working on the future Drupal Document Oriented Storage at DrupalCon Denver. D8 or later ? Bets are on.
  • 2011-09-01: Building an Unfuddle to Drupal Casetracker import module using Migrate
  • 2011-08-28: Back from DrupalCon London and its WSCCI code sprint. Wow.
  • 2009-11-29: mongodb_watchdog module created by dereine, ported to D7 by me in about half an hour, and migrated in a larger MongoDB project by damz before the hour ended. Wow...

Latest sites

Last code sprint before Drupal 8 code freeze

mod_rewrite

Multisite and dynamic configuration items in Drupal : help from Apache

Having recently merged a number of separately configured sites into a single consolidated multisite, I found myself with URLs like:

http://www.site1.com/sites/www.site1.com/files/somefile.png

...on all except the main site of the multisite configuration.

Although img_relocator allows me to just type things like:

<img src="somefile.png" />

... and still have these URLs be automagically generated, they still appear to those users who actually look at the URLs.

Enter mod_rewrite

Abandon all hope, ye who enter here

With these sites running over Apache 2.x, mod_rewrite offers a simple way to rewrite the files URLs: in the Apache site definition file for the vhost describing the site, we can use:

Syndicate content