[development] Loading configuration using 'SERVER_NAME' as opposed to 'HTTP_HOST'

Larry Garfield larry at garfieldtech.com
Tue Mar 17 02:17:29 UTC 2009


On Monday 16 March 2009 8:51:30 pm Sammy Spets wrote:
> Using a symlink will result in modules, themes and files having an
> incorrect path stored in the database. When you move the site live
> you'll need to have your dev symlink in place for the site to function.
> You could, of course, change all the entries in files and system tables
> to reflect the change (along with any color module variables). Yuck...
> too much work.

The best solution is a backport of this D7 patch:

http://drupal.org/node/231298

I use it on most of my multi-sites. :-)

-- 
Larry Garfield
larry at garfieldtech.com


More information about the development mailing list