Internal Server Error on upload
I am getting an Internal Server Error on Upload. The permissions are set on the folder are set to 777 and the upload server behavious was working fine. I have been in contact with my host who tell me the error is cause because the upload server behaviour is occuring becuase the upload is righting to a temp directory at the root level which is causing problems.
Here is what I recieved:
[Thu Nov 10 22:58:41 2011] [error] [client 220.127.116.11] ModSecurity: Input
filter: Failed to create temporary file:
[hostname "thebodytransformed.com"] [uri "/InnerCircle/daily.php"] [unique_id
This is what I received as a reply from my host
The important bit there is that your application is trying to write to the
/root/tmp/ subdirectory, typically that would be /tmp or
/home/<user>/public_html/tmp That is probably changed in a configuration file
for the application, I looked and did not find it. Do you know how to change
the path to /tmp?
Is there a way to change the tmp file that the upload server behavior uses so that it is not creating a temp file in the root directly so that it does not throw a security issue.
Many thanks for your help