>>>>> "Brian" == Brian May <[EMAIL PROTECTED]> writes:

    Brian> As far as I can tell, when using the "public" download method, it is 
not
    Brian> possible to relocate the files directory outside of /usr/share/drupal
    Brian> (except with a hardcoded symlink).

    Brian> This is totally broken when you want to host multiple sites, each 
with
    Brian> their own files directory.

    Brian> The problem is that the "File system path" is used for two reasons:
    Brian> 1. inside drupal so it can access the file.
    Brian> 2. it is also passed to the browser.

    Brian> I want to be able to tell drupal that the file is available at:
    Brian> /var/local/sitename/files/xyz.jpg

    Brian> But have the browser pick up the file from:
    Brian> /files/xyz.jpg

    Brian> As far as I can tell, this is not possible, as there is only one
    Brian> setting that is used in both places.

    Brian> For now, I will use the private method, but I don't really need to
    Brian> control access to the files so it would seem like an overkill.

Hmmm. An added complication is that some modules (e.g. audio) appear
to save the path of items to the database. So changing the settings at
admin/settings/file-system has no effect for existing items. Assuming
the private method is even supported by this module - I suspect it
might not be.
-- 
Brian May <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to