[support] File folder outside webfolder

Bob Smither Smither at C-C-I.com
Wed Jan 9 18:34:14 UTC 2008


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>



More information about the support mailing list