SFTP chroot jail help
Hello, I am new to lion server and am hoping to move from a self compiled apache/php/mysql setup to lion server so that I can have a multiuser setup. (As it stands, I have to upload all files and then move them to the /library/webserver/documents/sitename directory and then chmod and chown them to _www user in order for php scripts to modify the files.)
I would like to just configure the websites to the /home/USERNAME/sites directory and have users connect to the server via SFTP so they can upload files without having to chown them. To do this I need to setup chroot jails but I am unfamiliar with the process.
Another issue I'm having is I am unsure if this setup will even work as I want it to. Please help.
Any tips are appreciated!
Lion Server-OTHER, Mac OS X (10.7.3)