Welcome to the InMotion Hosting
Community Support Center!
It's time to get an answer! Our Customer Community Team monitors questions between 9am - 5pm ET, Monday - Friday!
Remember to ask detailed questions to receive better answers. When necessary, include steps we can take to replicate an issue.
Please keep in mind that your question will be public, so please do NOT post any sensitive information, such as email addresses, usernames, or passwords. Learn more about how to make the most out of our Community Support Center.
Check out these related questions for an answer.Don't see an answer to your question? Click the Ask this Question button to submit it to the Community forum for review.
I'm on a shared host business plan.
I know the script works fine on my local machine, and there is nothing functionally different about the script on the server. Do you have an idea as to why the script can not create a new file?
print("This is a Python program.")
Browsing to the script in that directory, I receive a 500 internal error. In cPanel, the error log contains the following two lines:
[Wed Feb 24 15:43:34.257736 2016] [cgi:error] [pid 302969:tid 139858368947968] [client 126.96.36.199:53169] AH01215: suexec policy violation: see suexec log for more details: /home/path/to/file
[Wed Feb 24 15:43:31.624933 2016] [access_compat:error] [pid 303394:tid 139858310199040] [client 188.8.131.52:50858] AH01797: client denied by server configuration: /home/path/to/domain
I confirmed that the folder permission is set at 755, and that the file permission is 644. What is wrong?
Customer support service by UserEcho