So My server is
CentOS 7 and I have installed:
I have my websites in
/var/www/, each website has a folder
/website1/websitecore which is basically the whole application, controllers, models, templates ect. and in each website folder I have a config, assets and index
So when I create a new website I am creating a new
ProFTPD user and then uploading the code,
drwxr-xr-x 4 5500 5500 4096 Nov 17 09:40 website1
The question is how can I prevent uploading
/websitecore folder for each website, but share it for all of them?
What I have tried is so far is to:
/usr/share/php/websitecore and then I have tried to do
ln -s, the folder appear in my
ftp client, but I can't see any files there.
Then I've tried to
mount which worked, I can see the folder and the files in it, but when when I try to access some pages, I get an server error:
`Forbidden You don't have permission to access /websitecore/application/category/`
So I was thinking, if there is a better way of doing this, not messing up with user permissions and groups.
Thank you in advance for any help!