Hi
I have configured a lamp server as follows and I am not sure how the permissions should be set for the folder holding the site:
I have created a folder under root called sites
The sites folder is made up as follows:
sites/mysite1/public - this contains php files/folders
sites/mysite1/logs - this contains the log files
The permissions for the folders are as follows:
drwxr-xr-x apache apache
Is what I have done correct? Some forums mention 755 access and 644 for the php files. I obviously want to make this as secure as possible. Please let me know your thoughts.
Many thanks
I have configured a lamp server as follows and I am not sure how the permissions should be set for the folder holding the site:
I have created a folder under root called sites
The sites folder is made up as follows:
sites/mysite1/public - this contains php files/folders
sites/mysite1/logs - this contains the log files
The permissions for the folders are as follows:
drwxr-xr-x apache apache
Is what I have done correct? Some forums mention 755 access and 644 for the php files. I obviously want to make this as secure as possible. Please let me know your thoughts.
Many thanks