[interchange-cvs] interchange - jon modified
dist/standard/special_pages/missing.html
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Wed Feb 14 00:42:31 EST 2007
User: jon
Date: 2007-02-14 05:42:31 GMT
Modified: dist/standard/special_pages missing.html
Log:
Return a proper HTTP 404 error result code for missing pages in the
Standard demo, instead of 200 success result, so search engines can act
appropriately.
Fix by Dan Collis-Puro <dan at endpoint.com>.
Revision Changes Path
1.3 +5 -0 interchange/dist/standard/special_pages/missing.html
rev 1.3, prev_rev 1.2
Index: missing.html
===================================================================
RCS file: /var/cvs/interchange/dist/standard/special_pages/missing.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- missing.html 14 Jun 2006 00:36:53 -0000 1.2
+++ missing.html 14 Feb 2007 05:42:31 -0000 1.3
@@ -3,6 +3,11 @@
[bounce page=admin/error]
[else]
+[tag op=header]
+Status: 404 Not Found
+Content-type: text/html
+[/tag]
+
[tmp page_title][msg arg.0="[subject]"]Sorry, the page (%s) was not found[/msg][/tmp]
@_NOLEFT_TOP_@
More information about the interchange-cvs
mailing list