[support] File folder outside webfolder

Marolijo - Pol maresma marolijo at yahoo.es
Wed Jan 9 18:38:50 UTC 2008


If I'm not wrong, with this solution the files folder will be public again?

Thank's for the response!

-----Mensaje original-----
De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre
de Bob Smither
Enviado el: dimecres, 9 / gener / 2008 19:34
Para: support at drupal.org
Asunto: Re: [support] File folder outside webfolder

On Wed, 2008-01-09 at 18:00 +0100, 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

Could you add a link from within the Drupal site to the external folder?
Something like:

ln -s /srv/www/vhosts/domain.com/files \
      /srv/www/vhosts/domain.com/httpdocs/files

Hope this helps.

--
Bob Smither <Smither at C-C-I.com>

--
[ 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