Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The server encountered an internal error or misconfiguration and was unable to complete your request [closed]

Tags:

php

mysql

apache

The server encountered an internal error or misconfiguration and was unable to complete your request.  Please contact the server administrator, [email protected] 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. Apache/2.2.0 (Fedora) Server at bbt.com Port 80 

This works fine in my local system but it is not working in the server. Can anyone help to figure out why it is? Thanks in advance!

like image 421
anbusekar Avatar asked Jun 22 '11 10:06

anbusekar


People also ask

How do you fix the server encountered an internal error or misconfiguration and was unable to complete your request?

Clear the cache and remove cookies only from websites that cause problems. "Clear the Cache": Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"

Why do I keep getting internal server error?

A 500 internal server error is, as the name implies, a general problem with the website's server. More than likely, this means there's an issue or temporary glitch with the website's programming. Some potential causes of a 500 internal server error include: Corrupted or broken .

Why do I keep getting 500 internal server error?

The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backend server. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.


2 Answers

Check your servers error log, typically /var/log/apache2/error.log.

like image 101
Konerak Avatar answered Sep 20 '22 04:09

Konerak


You should look for the error in the file error_log in the log directory. Maybe there are differences between your local and server configuration (db user/password etc.etc.)

usually the log file is in

/var/log/apache2/error.log 

or

/var/log/httpd/error.log 
like image 38
Nicola Peluchetti Avatar answered Sep 19 '22 04:09

Nicola Peluchetti