News for hackers. Stuff that matters.
Re:404 page that lets visitors express themselves by antidoh on Sunday October 14, 2012 @08:46AM (#4651350)
If I am directly getting the 404 page, and I receive it, then shouldn't the status code be 200?

  curl -I http://leftlogic.com/info/articles/404
  HTTP/1.1 404 Page not found
  Date: Sun, 14 Oct 2012 12:45:07 GMT
  Server: Apache/1.3.37 (Unix) DAV/1.0.3 mod_gzip/1.3.26.1a PHP/5.4.0
  X-Powered-By: PHP/5.4.0
  Connection: close
  Content-Type: text/html
But it was found.
Re:404 page that lets visitors express themselves by pestaa on Sunday October 14, 2012 @08:53AM (#4651366)
There is no resource on that endpoint so nothing was really found. It is merely arbitrary that applications redirect you to a preconfigured URL to show that error.
Re:404 page that lets visitors express themselves by TazeTSchnitzel on Sunday October 14, 2012 @10:04AM (#4651460)
Yes. Returning content for error pages is normal. The status code indicates this isn't what was expected, but doesn't say you can't produce some other content along with it.
Re:404 page that lets visitors express themselves by aba_sababa on Sunday October 14, 2012 @10:42AM (#4651507)
Unless that URL is deceiving, and that's not actually the URL for the 404 page - just a URL that doesn't exist that looks like it could be the URL for the 404 page.