chmod test:test (all files and folders)
test 711
public_html 755
all files 644
all folders 755
Why why why dont work
((((
[Wed Jun 17 00:12:17 2015] [error] [client 88.235.xxx.xxx] SoftException in Application.cpp:404: Mismatch between target UID (99) and UID (500) of file "/home/test/public_html/index.php"
[Wed Jun 17 00:12:17 2015] [error] [client 88.235.xxx.xxx] Premature end of script headers: index.php
other config
-----------------------------------------------------
vhost.conf Template
# vhost_start %domain_name%
<VirtualHost *:%domain_port%>
ServerName %domain_name%
ServerAlias www.%domain_name%
ServerAdmin %admin_email%
DocumentRoot "%homedir%/%username%/public_html"
ScriptAlias /cgi-bin/ "%homedir%/%username%/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/%username%/%domain_name%/*.conf
<IfModule mod_suexec.c>
SuexecUserGroup %username% %username%
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup %username% %username%
suPHP_ConfigPath /home/%username%
</IfModule>
<Directory "/">
AllowOverride All
</Directory>
</VirtualHost>
# vhost_end %domain_name%
--------------------------------------------------------
httpd.conf
--------------------------------------------------------
# Virtual hosts
Include conf.d/vhosts.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf
ExtendedStatus On
<Directory "/usr/local/apache/htdocs">
suPHP_UserGroup nobody nobody
suPHP_AddHandler x-httpd-suphp
</Directory>
--------------------------------------------------------