500 Internal Server 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@live.btrav.net 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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Begitu isi notifikasi dari email , lihat jam.. Pheww 10 PM. ya bagaimana lagi, tugas penjaga server. Buka laptop colok modem dan ssh… T_T. Log adalah teman kita ketika ada error, kita bisa tahu dari dia. cek dulu dia sebelum berasumsi.
solusi dari pesan error itu biasanya berada di :

1. Fix permission 755 untuk folder and 644 untuk file

2. Periksa .httaccess

3. php.ini

nah ketika cek log eh ada

Premature end of script headers: index.php

untuk premature…. kompile lagi apache dan phpnya.


Plus kosongkan semua isi log.

echo > /usr/local/apache/logs/access_log
echo > /usr/local/apache/logs/error_log
echo > /usr/local/apache/logs/suphp_log

restart apache :D dan selesailah, tugas penambal lubang.. *mari main pes*

Leave a Reply

Your email address will not be published. Required fields are marked *



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>