J'ai relancé apache entre chaque modification de .htaccess.
En faisant:
il y a 2 lignes qui ressortent avec le port 80:
1 2 3 4
| Proto Adresse locale Adresse distante État
TCP 0.0.0.0:80 DESKTOP-GDKC1R8:0 LISTENING
[SearchUI.exe]
TCP [::]:80 DESKTOP-GDKC1R8:0 LISTENING |
Dans le fichier apache_error.log, la seul ligne qui apparait est l’erreur 404:
[Sat Oct 03 16:03:42.265263 2020] [php7:error] [pid 3228:tid 1244] [client ::1:50103] script 'C:/wamp64/www/index.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.php' not found or unable to stat
Même chose dans le access.log, les redirections ne sont pas affichées:
::1 - - [03/Oct/2020:16:07:05 +0200] "GET /index.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.php HTTP/1.1" 404 4005
J'ai remarqué quand remplacent localhost par 127.0.0.1, sa fonctionne. J'ai regardé du coté du fichier hosts (C:\Windows\System32\drivers\etc), voila se qui ci trouve:
1 2
| #
127.0.0.1 localhost::1 localhost |
Partager