You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ja...@apache.org on 2006/11/23 09:14:55 UTC

svn commit: r478507 - in /lenya/trunk/src: modules/export/sitemap.xmap pubs/default/sitemap.xmap

Author: jann
Date: Thu Nov 23 00:14:55 2006
New Revision: 478507

URL: http://svn.apache.org/viewvc?view=rev&rev=478507
Log:
Making import context work if lenya is not deployed under root context. Anyway: requestURI = contextPath + servletPath + pathInfo

Modified:
    lenya/trunk/src/modules/export/sitemap.xmap
    lenya/trunk/src/pubs/default/sitemap.xmap

Modified: lenya/trunk/src/modules/export/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/export/sitemap.xmap?view=diff&rev=478507&r1=478506&r2=478507
==============================================================================
--- lenya/trunk/src/modules/export/sitemap.xmap (original)
+++ lenya/trunk/src/modules/export/sitemap.xmap Thu Nov 23 00:14:55 2006
@@ -27,7 +27,7 @@
         <map:transform src="xslt/dir2xhtml.xsl">
           <map:parameter name="path" value="{1}"/>
           <map:parameter name="continuationId" value="{2}"/>
-          <map:parameter name="uri" value="{request:contextPath}{request:requestUri}"/>
+          <map:parameter name="uri" value="{request:requestUri}"/>
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>

Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?view=diff&rev=478507&r1=478506&r2=478507
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Thu Nov 23 00:14:55 2006
@@ -312,7 +312,7 @@
             <map:serialize status-code="404" />
           </map:when>
           <map:otherwise>
-            <map:redirect-to uri="{request:contextPath}{request:requestUri}?lenya.usecase=export.importExampleContent"/>
+            <map:redirect-to uri="{request:requestUri}?lenya.usecase=export.importExampleContent"/>
           </map:otherwise>
         </map:select>
       </map:match>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org