На моем сайте всего 4-5 статических страниц. index.html и index.php присутствуют. index.html работает нормально. Если я перейду на index.php, он выдаст 500 Internal Server Error
. Не знаю, в чем моя ошибка?
Примечание. Если я использую файл .htaccess с php_flag display_errors 1
,
Показывает Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Если я использую файл .htaccess с empty
,
Показывает Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
И если я дам ../contact-us.php
, он отображается правильно.
Спасибо...
/var/log/apache/error.log
или/var/log/httpd/error.log
); но я предполагаю, что в вашем файле PHP есть ошибка. - person Amadan   schedule 17.07.2013../contact-us.php
, он отображается правильно - person KarSho   schedule 17.07.2013