[support] File folder outside webfolder

Marolijo - Pol maresma marolijo at yahoo.es
Thu Jan 10 01:28:12 UTC 2008


I confirm that I have
Original files working directory: Web folder:
/srv/www/vhosts/domain.net/httpdocs/files
Web folder: /srv/www/vhosts/domain.net/httpdocs 
New files folder: /srv/www/vhosts/domain.net/files 
New files folder owner and group are the same as original files folder.
New files have 777 permissions
I choosed private download method and changed files folder path.

System tells me the folder doesn't exists.
What else can I try?

Thank's for all!

-----Mensaje original-----
De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre
de Marolijo - Pol maresma
Enviado el: dimecres, 9 / gener / 2008 20:33
Para: support at drupal.org
Asunto: Re: [support] File folder outside webfolder

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



--
[ Drupal support list | http://lists.drupal.org/ ]

__________ Informacisn de NOD32, revisisn 2776 (20080109) __________

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.com




More information about the support mailing list