Salut à tous,
Petite question, j'ai fait une page 404 qui est atteinte par une redirection si la page demandée n'existe pas.
En tapant une url inexistante, mon header se présente comme suit :
Il y a bien Status: 404 FIle not found, mais ce qui me fait me poser des questions ce sont les HTTP/1.1 302 et HTTP/1.1 200 ...
Stef
Petite question, j'ai fait une page 404 qui est atteinte par une redirection si la page demandée n'existe pas.
En tapant une url inexistante, mon header se présente comme suit :
Code:
HTTP/1.1 302 Found
Date: Tue, 20 Nov 2007 12:31:44 GMT
Server: Apache/2.0.54 (Fedora)
X-Powered-By: PHP/5.0.4
Status: 404 File not found
location: /erreur/404.html
Set-Cookie: aqua=vsfp65nc3tdt0jrum7p0uongr5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Connection: close
Content-Type: text/html
HTTP/1.1 200 OK
Date: Tue, 20 Nov 2007 12:31:44 GMT
Server: Apache/2.0.54 (Fedora)
X-Powered-By: PHP/5.0.4
Status: 404 File not found
Connection: close
Content-Type: text/html
Il y a bien Status: 404 FIle not found, mais ce qui me fait me poser des questions ce sont les HTTP/1.1 302 et HTTP/1.1 200 ...
Stef