访问域/ foldername时出现500内部服务器错误
I am getting the 500 Internal Server Error on my website. Full message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@subxchange.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at subxchange.com Port 443
Image: http://i.gyazo.com/31e237bca4593dc71b0923ba9c044ae1.png
I am getting the message when trying to access my admin panel such as domain.com/admin-panel I can however access the frontend just fine such as domain.com.
I have checked the permissions and folders are set to 755 while files are set to 644.
This is the error log:
[Sat Jun 20 14:57:59.954476 2015] [:error] [pid 7920] [client 213.114.166.90:35286] SoftException in Application.cpp:357: UID of script "/home/subxchange/public_html/admin-panel/index.php" is smaller than min_uid
[Sat Jun 20 14:56:09.703965 2015] [:error] [pid 7564] [client 213.114.166.90:35213] SoftException in Application.cpp:357: UID of script "/home/subxchange/public_html/admin-panel/index.php" is smaller than min_uid
[Sat Jun 20 14:56:09.398852 2015] [:error] [pid 7910] [client 213.114.166.90:35198] SoftException in Application.cpp:357: UID of script "/home/subxchange/public_html/admin-panel/index.php" is smaller than min_uid
....
Does someone have any idea how to solve this?
我的网站上出现500内部服务器错误。 全部消息: p>
内部服务器错误
服务器遇到内部错误或配置错误,无法完成您的请求。
请联系服务器管理员webmaster@subxchange.com,告知他们此错误的时间 发生了,以及您在此错误之前执行的操作。
有关此错误的更多信息可能在服务器错误日志中可用。
此外,尝试使用ErrorDocument处理时出现404 Not Found错误 请求。
Apache / 2.4.10(Unix)OpenSSL / 1.0.1e-fips mod_bwlimited / 1.4服务器在subxchange.com端口443
code> pre>
图片: http://i.gyazo.com/31e237bca4593dc71b0923ba9c044ae1.png p>
尝试访问我的管理面板(例如domain.com/admin-pan)时收到消息 但是,我可以访问前端,例如domain.com。 p>
我已检查权限,文件夹设置为755时文件夹设置为755。 p> \ n
这是错误日志: p>
[Sat Jun 20 14:57:59.954476 2015] [:error] [pid 7920] [client 213.114.166.90 :352CS] Application.cpp中的SoftException:357:脚本“/home/subxchange/public_html/admin-panel/index.php”的UID小于min_uid
[星期六六月20 14:56:09.703965 2015] [:错误 ] [pid 7564] [client 213.114.166.90:35213] Application.cpp中的SoftException:357:脚本“/home/subxchange/public_html/admin-panel/index.php”的UID小于min_uid
[星期六六月20号] 14:56:09.398852 2015] [:error] [pid 7910] [client 213.114.166.90:35198] Application.cpp中的SoftException:357:脚本的UID“/home/subxchange/public_html/admin-panel/index.php” 小于min_uid
....
code> pre>
有人知道如何解决这个问题吗? p>
div>
It's a permissions issue, you need to set correct user and group ownership in addition to rwx:
chown -R www-data:www-data /home/subxchange/public_html
And make sure correct properties for public_html
are set:
chmod 755 -R /home/subxchange/public_html