Par défaut Apache répond ceci lorsqu'on demande une page non existante :
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.57 (Unix)
Si j'ajoute ceci au httpd.conf, pour avoir une page de 404 personnalisée, mais avec blip.html qui n'existe pas :
ErrorDocument 404 /blip.html
Alors on a une réponse - toujours 404 - un peu différente :
Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
[^] # Re: Page introuvable ≠page 404
Posté par cg . En réponse au journal Pourquoi la page 404 ne peut être trouvée. Évalué à 4.
Par défaut Apache répond ceci lorsqu'on demande une page non existante :
Si j'ajoute ceci au
httpd.conf, pour avoir une page de 404 personnalisée, mais avecblip.htmlqui n'existe pas :Alors on a une réponse - toujours 404 - un peu différente :