Control Web Panel

WebPanel => PHP => Topic started by: greed on July 26, 2016, 12:24:46 AM

Title: 500 Internal Server Error after create a ftp account to access document root
Post by: greed on July 26, 2016, 12:24:46 AM
Good night, after performing maintenance changed the permissions of the htdocs folder, I can not return to normal, you could help me?

tail -f /usr/local/apache/logs/error_log

Quote
[Mon Jul 25 21:18:06 2016] [error] [client 127.0.0.1] SoftException in Application.cpp:249: File "/usr/local/apache/htdocs/index.php" is writeable by group
[Mon Jul 25 21:18:06 2016] [error] [client 127.0.0.1] Premature end of script headers: index.php

I have been to fix the cwp and not solved.
Title: Re: 500 Internal Server Error after create a ftp account to access document root
Post by: Administrator on July 26, 2016, 11:56:14 AM
try using fix account permissions for "nobody" user in CWP.admin
Title: Re: 500 Internal Server Error after create a ftp account to access document root
Post by: greed on July 26, 2016, 12:26:09 PM
I already tried to do this but not solved
the commands are performed below

Quote
sudo chgrp -R apache /var/www/html

Quote
sudo chmod -R g+w /var/www/html
sudo chmod g+s /var/www/html

after the command worked perfectly for an hour, then he stopped and began the Internal Server Error problems