You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/11/23 01:19:50 UTC
svn commit: r106248 - /lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap
Author: gregor
Date: Mon Nov 22 16:19:49 2004
New Revision: 106248
Modified:
lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap
Log:
404: Page not found returned HTTP status code 200, not 404. This fixes http://issues.apache.org/bugzilla/show_bug.cgi?id=32337
Modified: lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap?view=diff&rev=106248&p1=lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap&r1=106247&p2=lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap&r2=106248
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap Mon Nov 22 16:19:49 2004
@@ -41,6 +41,10 @@
<map:when test="">
<map:serialize/>
</map:when>
+ <!-- FIXME workaround for http://issues.apache.org/bugzilla/show_bug.cgi?id=32336 -->
+ <map:when test="404">
+ <map:serialize status-code="404"/>
+ </map:when>
<map:otherwise>
<map:serialize status-code="{statusCode}"/>
</map:otherwise>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org