Thanks, Rogier.NFS helps in my case.

2009/9/22 Rogier Krieger <[email protected]>

> On Tue, Sep 22, 2009 at 01:56, Andrej Elizarov <[email protected]>
> wrote:
> > I found this example:
> >
> > mkdir /var/www/music
> > mkdir -p /var/www/var/www
> > cd /var/www/var/www
> > ln -s /var/www/music music
> >
> > But in this case all mp3s must be inside ServerRoot. Not good.
>
> You're essentially offering web content. Arguably, /var/www is a good
> place for that sort of information to be confined to.
>
> If you feel you must plug holes into an essentially sane default, you
> can try mounting an NFS export containing the desired files somewhere
> within /var/www. See exports(5), mount_nfs(8) and others for more
> information.
>
> I'm not fully sure whether re-mounting exported data from 'localhost'
> is a good thing. I have it running at a few places (mainly due to
> earlier poor planning for /var/www/logs).
>
> Hope this helps,
>
> Rogier
>
> --
> If you don't know where you're going, any road will get you there.

Reply via email to