[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] FTP/Upload access
Todd Knaus <todd@xxxxxxxxxx> wrote:
> I have a new web client that needs to be able to give upload/ftp
> privileges to various employee's. However, he only wants them to be
> access/ftp to certain directories. i.e. the sales dept. can only
> upload/download to the sales directory, the orders dept. can only
> upload/download to the orders directory and so on.
What I did in a similar situation (as a mere site administrator) was
to create users for each subsection of the site which you want people
to administer inde[endently. Then create symbolic links from the main
site web directory into the users' web space, e.g.
ln -s ../users/sales/web /home/sites/site#/web/sales
ln -s ../users/orders/web /home/sites/site#/web/orders
You also need to create a .htaccess file in the main web directory and
insert the following line:
Options FollowSymLinks
Now the sales user can upload their pages into the web subdirectory of
their FTP space and this gets mapped seamlessly into the /sales part
of the web site, e.g. the file web/offer.html maps onto
http://www.theirdomain/sales/offer.html etc.
Regards,
--
Colin Hogben