[support] File folder outside webfolder

Jonathan Hedstrom jhedstrom at opensourcery.com
Wed Jan 9 19:08:46 UTC 2008



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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.drupal.org/pipermail/support/attachments/20080109/3b73cb89/attachment.pgp 


More information about the support mailing list