[support] File folder outside webfolder
Marolijo - Pol maresma
marolijo at yahoo.es
Wed Jan 9 19:33:19 UTC 2008
That's what I tried when I receive the error...
Thank's for respond!
-----Mensaje original-----
De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre
de Jonathan Hedstrom
Enviado el: dimecres, 9 / gener / 2008 20:09
Para: support at drupal.org
Asunto: Re: [support] File folder outside webfolder
Marolijo - Pol maresma wrote:
> Hello, I need to put System File as private an place the files folder
> outside /.
> The webfolder full route is like /srv/www/vhosts/domain.com/httpdocs
> I first created the folder files at the same level as httdocs and
> assigned the same owner as the original files folder, and changed the
> permissions to 777
>
> I tried ../files
> I tries the full route /srv/www/vhosts/domain.com/files
>
> All without luck, Drupal tells me the folder doesn't exists. Any idea?
> I'm on a dedicated server with root access.
>
If I'm understanding this correctly, what you'll need to do is specify the
absolute path (/srv/www/vhosts/domain.com/files) and then set the "Download
Method" to private (Drupal serves the files instead of the webserver). These
changes, by the way, are made on the admin/settings/file-system page...
Cheers,
Jonathan
More information about the support
mailing list