Answer the question
In order to leave comments, you need to log in
Why is 500 returned when redirecting requests to index.php?
written in .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php
Answer the question
In order to leave comments, you need to log in
Logs!!!! LOOK AT THE LOGS!!!
The first thing to do at 500 is to look at what causes the error. For the virgins of the environment, it is generally mandatory to prescribe
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question