SFTP Chroot for Apache2

view story

http://serverfault.com – I'm attempting to setup SFTP (OpenSSH 6.1 internal-sftp) so that a group of users(sftpusers) can access my server specifically to work on development of my website. I have created the chroot (/srv/sftp/shared) owned by root. Apache virtual directories are pointing to folders in /srv/sftp/shared/www. This folder is owned by www-data as expected. Match Group sftpusers Chrootdirectory /srv/sftp/shared AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp I am able to access all of these files via SFTP. My problem is that when attempting to access my sites from a web (HowTos)