[support] multisite - document tree vs. file tree
Earnie Boyd
earnie at users.sourceforge.net
Wed May 5 12:20:16 UTC 2010
Jim Tarvid wrote:
> I tried to do this with an alias in sites-available.
>
> Alias /sites/wordsoftheprophets.org <http://wordsoftheprophets.org>
> /home/tarvid/sites/wordsoftheprophets.org <http://wordsoftheprophets.org>
>
> Which does not work.
>
> Is this because Drupal examines the file tree instead of the document tree?
>
Yes, the code uses PHP's file_exists function to find the settings.php
file. See http://api.drupal.org/api/function/conf_path for the code.
--
Earnie
-- http://progw.com
-- http://www.for-my-kids.com
More information about the support
mailing list