From 5f3033d78a068b0ef216f47c261f615fbfa4ae01 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Mon, 30 Mar 2009 05:45:48 +0000 Subject: [PATCH] #231298 follow-up by Jaza: Documentation and sample file for aliased multisite support feature. --- sites/default.sites.php | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 sites/default.sites.php diff --git a/sites/default.sites.php b/sites/default.sites.php new file mode 100644 index 000000000000..8c5f84aca374 --- /dev/null +++ b/sites/default.sites.php @@ -0,0 +1,46 @@ + 'example.com', + * 'localhost/example' => 'example.com', + * ); + * + * The above array will cause Drupal to look for a directory named + * "example.com" in the sites directory whenever a request comes from + * "example.com", "devexample.com", or "localhost/example". That is useful + * on development servers, where the domain name may not be the same as the + * domain of the live server. Since Drupal stores file paths into the database + * (files, system table, etc.) this will ensure the paths are correct while + * accessed on development servers. + * + * To use this file, copy and rename it such that its path plus filename is + * 'sites/sites.php'. If you don't need to use multi-site directory aliasing, + * then you can safely ignore this file, and Drupal will ignore it too. + */ + +/** + * Multi-site directory aliasing: + * + * Edit the lines below to define directory aliases. Remove the leading hash + * signs to enable. + */ +#$sites = array( +# 'devexample.com' => 'example.com', +# 'localhost/example' => 'example.com', +#);