Problème htaccess

Fermé
Bojamaing - 9 mars 2022 à 00:43
Pitet Messages postés 2826 Date d'inscription lundi 11 février 2013 Statut Membre Dernière intervention 21 juillet 2022 - 9 mars 2022 à 09:36
Bonjour,

J'ai configuré un fichier htaccess pour la première fois,

Le fichier marche bien en local.

Néanmoins dès que je push mon API en prod j'ai des erreurs 500 que je tape une url....

Erreur :

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Voici le fichier htaccess :

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?demande=$1

Bonne soirée.

Configuration: Windows / Chrome 99.0.4844.51
A voir également:

1 réponse

Pitet Messages postés 2826 Date d'inscription lundi 11 février 2013 Statut Membre Dernière intervention 21 juillet 2022 524
9 mars 2022 à 09:36
Bonjour,

More information about this error may be available in the server error log.
Tu devrais en effet pouvoir trouver le message correspondant à l’erreur 500 dans le journal d'erreur (error log) de ton serveur web.
Il sera plus facile de corriger l'erreur en connaissant le message correspondant.

Le journal d'erreur est généralement accessible depuis le FTP et/ou l'espace client de ton hébergement.

Bonne journée,
0