This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
PHP / Re: suPHP - 500 Internal Server Error
« on: December 17, 2014, 08:36:30 PM »
Same problem here
New installation CentOS release 6.6 (Final)
I Add New Account with name admin;
i put files in /home/admin/public_html and shows me a error:
Internal Server Error
[Wed Dec 17 14:15:48 2014] [error] [client SHAREDIP] Premature end of script headers: index.php
[Wed Dec 17 14:16:24 2014] [error] [client SHAREDIP] SoftException in Application.cpp:221: File "/home/admin/public_html/index.php" is not in document root of Vhost "/usr/local/apache/htdocs"
[Wed Dec 17 14:16:24 2014] [error] [client SHAREDIP] Premature end of script headers: index.php
I fix permissions, the all files are correct and still shows a error.
I access http://SHAREDIP/~admin/
admin.com
rwxr-x--- 17 admin nobody 4096 Dec 17 13:57 public_html
admin/public_html:
total 20
drwxr-x--- 17 admin nobody 4096 Dec 17 13:57 .
drwx--x--x 5 admin admin 4096 Dec 17 13:57 ..
-rw-r--r-- 1 admin admin 4670 Dec 17 13:57 index.php
I access http://SHAREDIP/~test/
test.com (no error)
drwxr-x--- 3 test nobody 4096 Dec 17 13:57 public_html
test/public_html:
total 20
drwxr-x--- 3 test nobody 4096 Dec 17 13:57 .
drwx--x--x 5 test test 4096 Dec 17 13:57 ..
drwxr-xr-x 2 test test 4096 Dec 17 13:57 img
-rw-r--r-- 1 test test 4670 Dec 17 13:57 index.html
New installation CentOS release 6.6 (Final)
I Add New Account with name admin;
i put files in /home/admin/public_html and shows me a error:
Internal Server Error
[Wed Dec 17 14:15:48 2014] [error] [client SHAREDIP] Premature end of script headers: index.php
[Wed Dec 17 14:16:24 2014] [error] [client SHAREDIP] SoftException in Application.cpp:221: File "/home/admin/public_html/index.php" is not in document root of Vhost "/usr/local/apache/htdocs"
[Wed Dec 17 14:16:24 2014] [error] [client SHAREDIP] Premature end of script headers: index.php
I fix permissions, the all files are correct and still shows a error.
I access http://SHAREDIP/~admin/
admin.com
rwxr-x--- 17 admin nobody 4096 Dec 17 13:57 public_html
admin/public_html:
total 20
drwxr-x--- 17 admin nobody 4096 Dec 17 13:57 .
drwx--x--x 5 admin admin 4096 Dec 17 13:57 ..
-rw-r--r-- 1 admin admin 4670 Dec 17 13:57 index.php
I access http://SHAREDIP/~test/
test.com (no error)
drwxr-x--- 3 test nobody 4096 Dec 17 13:57 public_html
test/public_html:
total 20
drwxr-x--- 3 test nobody 4096 Dec 17 13:57 .
drwx--x--x 5 test test 4096 Dec 17 13:57 ..
drwxr-xr-x 2 test test 4096 Dec 17 13:57 img
-rw-r--r-- 1 test test 4670 Dec 17 13:57 index.html
Pages: [1]