Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2007 22:02:39 -0600
From:      Ray <ray@stilltech.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: ftp chroot directory structure
Message-ID:  <200704262202.39440.ray@stilltech.net>
In-Reply-To: <200704262112.29415.ray@stilltech.net>
References:  <200704262112.29415.ray@stilltech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 26 April 2007 9:12 pm, Ray wrote:
> Hello,
> I am setting up a new web server that must host data from an existing
> webserver. We've never had an organized folder structure for private data,
> (passwords, secure data, etc) and I'm trying to change that.
> there are currently a number of virtual sites all handled through apache
> virtualhosts. all (or at least most) users must have ftp access.
> my original thought was this:
>
> apache/priv_data/domain1
> apache/pub_data/domain1
>
> where
> apache/priv_data/domain1
> contains a soft link to
> apache/pub_data/domain1
> and the ftpchroot is
> apache/pri_data/domain1
>
> this doesn't work like I wanted it to. I can't follow the link with an ftp
> client. 

after posting, I decided I'm going to do it this way, and hope the other 
developers didn't cheat too bad. I think this is the right way.
Ray

> obviously the best solution would be 
> apache/priv_data/domain1
> which contains
> apache/data/domain1/pub_data
> with domain1 as the ftp root
> and pub_data as the http root,
> but I'm not the developer of all the sites, and I don't want to have to
> trouble shoot other peoples possibly incorrectly written sites (hard coded
> path structures)
> What can you suggest as my best solution?
> Thanks
> Ray
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704262202.39440.ray>