P
plugged
Guest
What is the best way to use safe_mode?
When i turn safe_mode on, some applications won't work anymore, for example Joomla.
I've looked at the rights and it is because some files has as owner apache.apache.
Even with safe_mode_gid on, it doesn't work. It seems that i can only access files with owner and/or group <ftp-user>.psacln
What's the best way to fix this problem? perhaps give httpd psacln as group, that files will be with ownership apache.psacln, then the group is the same and perhaps then it will work.
A better solution would be that the httpd will have the same user and group as the hosting. For example: Assume i have a website at /home/httpd/vhosts/domain.nl and through ftp the files get the ownership as domain.psacln. Then it would be perfect that all files created through apache would also get the ownership as domain.psacln, or domain.apache ...
Has anyone got experience with this problem, or a working solution?
When i turn safe_mode on, some applications won't work anymore, for example Joomla.
I've looked at the rights and it is because some files has as owner apache.apache.
Even with safe_mode_gid on, it doesn't work. It seems that i can only access files with owner and/or group <ftp-user>.psacln
What's the best way to fix this problem? perhaps give httpd psacln as group, that files will be with ownership apache.psacln, then the group is the same and perhaps then it will work.
A better solution would be that the httpd will have the same user and group as the hosting. For example: Assume i have a website at /home/httpd/vhosts/domain.nl and through ftp the files get the ownership as domain.psacln. Then it would be perfect that all files created through apache would also get the ownership as domain.psacln, or domain.apache ...
Has anyone got experience with this problem, or a working solution?