2011-02-02, 11:25:54
NickC Wrote:My installation is not returning a 404 for an unknown-page request. Instead, it displays a "Oops Page not found" message. I like that, but I'd also like the server to return 404 as well. Currently it is returning 200.
I tried the bug fix mentioned here ( http://code.google.com/p/get-simple-cms/...tail?r=194 ) but the server still returned a 200.
I'm using GS 2.03 plus that patch mentioned above. I use a modified .htaccess (I run other apps as well as GS on the site) but I'm not rewriting the headers as far as I can tell.
I wonder if this is doing it
Code:RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]
An example is (/fathead is non-existent):Code:(in browser) http://www.nickcoleman.org/fathead
(from apache log) "GET /fathead HTTP/1.1" 200 2284 "-"
Thanks.
Could you post a link to your site?
- Matt