Status
Not open for further replies.

iman24

Banned
Banned
572
2010
67
0
Hi guys

my vps return with this error when i open my site

500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost 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.
 
15 comments
it's mostly because of .htaccess error
check the contents of your .htaccess file

in the root directory of your site
inside public_html folder


anyways
how this error came up ??
you did any thing ?? any configuration ?
 
create a new .htaccess file inside the public_html folder with the following content

PHP:
DirectoryIndex index.php
RewriteEngine on


tell me what happens then


also check that your cgi-bin directory should be chmodded as 0755, not 0777.

---------- Post added at 07:26 PM ---------- Previous post was at 07:21 PM ----------

Take the help of the error logs files in the following any1 directory depending
on your configuration also control panel


/var/log/message
/var/log/httpd/error_logs (/var/log/lighttpd/error_log or /var/log/httpd/error_log)

access them via SSH (like putty)
do you find any ? error lines details ? inside those files ?
 
First tip works perfect i added this line
DirectoryIndex index.php

because this line was there
RewriteEngine on

Thanks "
prateek" really appreciated

i will come back here if the error appears again
 
Sure i will m8, thanks again

---------- Post added at 10:19 PM ---------- Previous post was at 07:42 PM ----------

the error appears again, any idea guys
 
Find your php.ini file, this will mostly at these location /etc/php.ini

find in it

Display_error

where Off make On. Save and reboot your Apache or VPS. wait until it back. then visit your site and you will see the original error. post here so that make sense to us to help you in proper way.
 
Status
Not open for further replies.
Back
Top