[development] Accommodating a second base_url
jeff at ayendesigns.com
Thu Oct 29 23:36:20 UTC 2009
Daniel F. Kudwien wrote:
> Whatever you do, if you think you need to alter $base_url, then you are most
> likely approaching your task at hand wrongly.
> Drupal usually sets up $base_url correctly and you should not alter that
> value. If you need conditional settings per site, then you should look into
> Drupal's multi-site support.
Daniel, don't know if I agree with that. If two url's map to the same
directory, how would Drupal know which one to use? I would think it's
using the domain it was installed on. Would its value change based on
the http request? If not, then it has to be done programatically.
More information about the development