Hi,
I have a web server running Apache on FreeBSD (user www is used to run Apache).
I would like some local users to be file administrators of their own site on this server, i.e. I would like jdoe to be able to upload files in the "SITE1" folder inside the Apache document root.
I have installed vsftpd on this web server and configured it to chroot local users, I have also give them access to the target folders (inside the Apache document root) with the mount_nullfs command.
My problem is when one of these users uploads a file on a folder inside the document root, this file is no longer available from web browsers because it is not owned by the www user. Is there a simple way to allow access to these pages uploaded by local users?
Maybe there is a better way to upload files on web servers ?
Thanks in advance for your answers.
RedDevil
I have a web server running Apache on FreeBSD (user www is used to run Apache).
I would like some local users to be file administrators of their own site on this server, i.e. I would like jdoe to be able to upload files in the "SITE1" folder inside the Apache document root.
I have installed vsftpd on this web server and configured it to chroot local users, I have also give them access to the target folders (inside the Apache document root) with the mount_nullfs command.
My problem is when one of these users uploads a file on a folder inside the document root, this file is no longer available from web browsers because it is not owned by the www user. Is there a simple way to allow access to these pages uploaded by local users?
Maybe there is a better way to upload files on web servers ?
Thanks in advance for your answers.
RedDevil