[development] Files directory on installation usability fix notquite usable. ; )
Alessandro Feijó
patrao at legendas.feijo.info
Sun Dec 9 20:38:56 UTC 2007
Windows has an equivalent symlinks functionality, but its not present in S.O. by default.
You need to download a small .exe to do the trick.
Feijó
----- Original Message -----
From: Khalid Baheyeldin
To: development at drupal.org
Sent: Sunday, December 09, 2007 1:33 PM
Subject: Re: [development] Files directory on installation usability fix notquite usable. ; )
Perhaps a decoupling of the paths from the domain is in order.
There is a way to do it today with symlinks: under "sites/" we have s1, s2, s3,
...etc. One directory per site. Then files would be "sites/s1/files". A symbolic
link then makes s1 be site1.example.com, and s2 www.example.com and s3
is example3.com, ...etc.
If you then decide to use .net instead of .com for s1, the file paths do not change
at all. They remain the same.
What this does is have one level of indirection, so we don't run into these
hard coded domains in file path names.
Maybe we should formalize that as the advocated solution. This works for all
UNIX like systems. Not sure about those hosting/developing on Windows though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20071209/7a8c1553/attachment.htm
More information about the development
mailing list