![]() |
[solved] PHP uploads not setting owner/group
I have my virtual hosts set up to run off DocRoot UID (so that domain may only access files on that domain via PHP) but it seems that when a file is uploaded it is not owned by the DocRoot UID. This causes 403 access forbidden errors and is very frustrating - what am I doing wrong here :(
|
(this was not a problem with NGINX)
|
please check your php suExec setting.
Server->General->Using Apache Configuration File->PHP suEXEC should be Yes in your case. |
Quote:
Code:
[68.xx.xx.xx:39176-0#sitename] owner of file does not match owner of vhost, path [/home/sitename/html/assets/files/86.swf], access denied./home/sitename/conf/ /home/sitename/html/ the PHP_suEXEC template is as follows: http://b.elup.me/UkhQ-zsX.png thanks! EDIT: To clarify, do I need to map each virtual host, or do I just need to map the listener they belong to? |
you're using vhost template. please show the screenshot of the problem vhost's Basic->Security
mainly to check "ExtApp Set UID Mode" |
Quote:
You have to set up each site under the template, I thought you set up each site as a vhost and then set it to use the template! |
Thanks for your update!
|
| All times are GMT -7. The time now is 03:52 PM. |