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