Index: [Article Count Order] [Thread]

Date:  Sat, 7 Mar 2009 17:21:10 +0000
From:  Steve Howes <steve (at mark) geekinter.net>
Subject:  [coba-e:15228] Re: Ftp tweeaking
To:  coba-e (at mark) bluequartz.org
Message-Id:  <775C4253-1D5A-449C-94C3-38A6FD31DCA9 (at mark) geekinter.net>
In-Reply-To:  <49B29AC2.40701 (at mark) dogsbody.org>
References:  <F99EC3D3-0542-4F57-BA4C-6E8B080425A4 (at mark) straszek.dk> <49B26BAC.3080503 (at mark) dogsbody.org> <49B27859.40905 (at mark) theanchoragesylvania.com> <49B29AC2.40701 (at mark) dogsbody.org>
X-Mail-Count: 15228


On 7 Mar 2009, at 16:03, Dogsbody wrote:

>>> Can you not create a standard user and then link the directory on  
>>> the website with the users home web directory?
>>>
>>> cd /home/sites/www.example.com/web
>>> ln -s ../users/user/web dir
>>
>> I dont think that one will work... FTP for non-admin users have a  
>> "default-root" that wont let them get outside their "virtual" root  
>> environment.
>> If you want to "keep it simple".... give the user normal non-admin  
>> privs, and let them edit web content in /home/sites/www.sitename.com/users/username/web/
>> Then: You can either have the main site use the code by including  
>> links to http://www.sitename.com/~username/ or you can symlink from  
>> main site to user directory. This will also require a change to be  
>> made in /etc/httpd/conf/vhosts/sitexx.include to allow symlinks
>
> LOL, you just described exactly what I was saying!!  Sorry if I  
> wasn't clear in my mail.

LOL no, I think he described it the other way around. Make Apache  
follow symlinks rather than the FTP server.... it works that way  
round....