• [^] # Re: Autres explications

    Posté par . En réponse au journal Pourquoi la page 404 ne peut être trouvée. Évalué à 2.

    Ben non, on tombe sur la page 404 quand on va là : https://linuxfr.org/404

    curl -v https://linuxfr.org/404
    * Trying 213.36.253.176:443...
    * Connected to linuxfr.org (213.36.253.176) port 443 (#0)
    * schannel: disabled automatic use of client certificate
    * ALPN: offers http/1.1
    * ALPN: server accepted http/1.1
    * using HTTP/1.1
    > GET /404 HTTP/1.1
    > Host: linuxfr.org
    > User-Agent: curl/8.0.1
    > Accept: */*
    >
    * schannel: failed to decrypt data, need more data
    < HTTP/1.1 404 Not Found
    < Server: nginx
    < Date: 2023年9月16日 08:12:46 GMT
    < Content-Type: text/html; charset=utf-8
    < Content-Length: 1832
    < Connection: keep-alive
    < Keep-Alive: timeout=5
    < ETag: "62a62d44-728"
    <
    

    alors que pour tomber sur la page 404 il faut aller là : https://linuxfr.org/errors/400.html

    curl -v https://linuxfr.org/errors/400.html
    * Trying 213.36.253.176:443...
    * Connected to linuxfr.org (213.36.253.176) port 443 (#0)
    * schannel: disabled automatic use of client certificate
    * ALPN: offers http/1.1
    * ALPN: server accepted http/1.1
    * using HTTP/1.1
    > GET /errors/400.html HTTP/1.1
    > Host: linuxfr.org
    > User-Agent: curl/8.0.1
    > Accept: */*
    >
    * schannel: failed to decrypt data, need more data
    < HTTP/1.1 200 OK
    < Server: nginx
    < Date: 2023年9月16日 08:15:18 GMT
    < Content-Type: text/html; charset=utf-8
    < Content-Length: 1832
    < Last-Modified: 2022年6月12日 18:15:32 GMT
    < Connection: keep-alive
    < Keep-Alive: timeout=5
    < ETag: "62a62d44-728"
    < X-Content-Type-Options: nosniff
    < Strict-Transport-Security: max-age=63072000; includeSubDomains
    < Accept-Ranges: bytes
    

    Faut pas gonfler Gérard Lambert quand il répare sa mobylette.