|
|
|
Webserver technical notes and webmaster guide
|
Webserver Technical Notes Part 3:
Our comprehensive guide on web servers continues with an
article on HTTP response codes. Response status codes beginning
with the digit "5" indicate cases in which the server is aware that it
has encountered an error or is otherwise incapable of performing the
request. Except when responding to a HEAD request, the server should
include an entity containing an explanation of the error situation, and
indicate whether it is a temporary or permanent condition. Likewise,
user agents should display any included entity to the user. These
response codes are applicable to any request method. Your Web server encountered an unexpected condition that
prevented it from fulfilling the request by the client. The best way to think of Internal Server Errors is as a catch-all error that can be dished out to a viewer for many, many reasons from port issues to just general server misconfiguration. Of course you (as the webmaster) should check all of your
files and scripts for errors, especially if you receive the error To enable the display of errors for PHP, you should create a .htaccess (or edit your existing one) and add the following line to enable the display of errors:
For the most part however 500 errors are not able to be resolved by the end-user and in many cases, even the webmaster cannot fix the issue so the best thing that can be done is contact support regarding the issue. Want to learn about other server codes?
![]() Check the knowledge base with video tutorials
|
|
|||||||
| Premium cPanel
Hosting | Business Class
hosting | VPS Servers
| Free Domain |
||||||||