Getting Internal Server Error while trying to access my site

倾然丶 夕夏残阳落幕 提交于 2019-12-28 03:07:08

问题


I am getting this error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@crimsonbux.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_fcgid/2.3.6 Server at www.crimsonbux.com Port 80

Can someone please let me know how I can solve it?


回答1:


A 500 Error is often caused due to an issue with Permissions. Check out the following guide on setting proper permissions using Cyberduck (you will want to research permissions for your particular FTP client):

http://webmaster.iu.edu/chmod/chmod_mac.shtml

Additionally, you can check out the error log and get more information on what is causing the error. If you have an administrator gui provided to you by your host, that will be a good place to check. Here is an example video for cPanel (you will want to check with your host for how to access this report on your specific admin. interface):

http://www.youtube.com/watch?v=pzO1UNHZjZo

It appears that your host (bigrock.in) provides cPanel and Linux hosting, so the above video should be helpful. If not, consider contacting your host by submitting a support ticket here:

http://support.bigrock.com/index.php?/Tickets/Submit




回答2:


I am also getting 500 Internal server error. My Problem

Try checking the server error. In my case I used

cd /var/log

Then I used sudo cat apache2/access.log (I was not able to cd into the apache2 directory directly, so this workaround)

also try sudo cat apache2/error.log if it helps.




回答3:


If any of the above or other solution is not working for you then have a look at this link

https://forums.cpanel.net/threads/public_html-is-writable-by-group-error.627391/

Here Cpanel community team member suggest that public_html should have the permission set as 750

This solution worked for me :)




回答4:


In my case, it was due to a Japanese space (Zenkaku space) in my PHP file.

For PHP, it shows errors to the client side or logs errors to a file depends on how you configure the php.ini file. Either way, I got nothing from PHP when there is a Japanese space in the myfile.php



来源:https://stackoverflow.com/questions/11179706/getting-internal-server-error-while-trying-to-access-my-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!