You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/06/28 10:13:11 UTC

svn commit: r551501 - in /lenya/trunk/src: pubs/default/sitemap.xmap webapp/lenya/config/sitemap/pipelines.xmap

Author: andreas
Date: Thu Jun 28 01:13:11 2007
New Revision: 551501

URL: http://svn.apache.org/viewvc?view=rev&rev=551501
Log:
Reverted changes re. proxy-based redirects. They are obsolete with a correct reverse proxy setup.

Modified:
    lenya/trunk/src/pubs/default/sitemap.xmap
    lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap

Modified: lenya/trunk/src/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/pubs/default/sitemap.xmap?view=diff&rev=551501&r1=551500&r2=551501
==============================================================================
--- lenya/trunk/src/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/pubs/default/sitemap.xmap Thu Jun 28 01:13:11 2007
@@ -98,7 +98,7 @@
       </map:match>
       
       <map:match pattern="**/">
-        <map:redirect-to uri="{proxy:/{page-envelope:publication-id}/{1}/index.html}"/>
+        <map:redirect-to uri="index.html"/>
       </map:match>
     </map:pipeline>
     

Modified: lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap?view=diff&rev=551501&r1=551500&r2=551501
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap (original)
+++ lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap Thu Jun 28 01:13:11 2007
@@ -96,7 +96,7 @@
       <map:act type="authorizer">
         <map:mount uri-prefix="" src="global-sitemap.xmap" check-reload="true" reload-method="synchron"/>
       </map:act>
-      <map:redirect-to session="true" uri="{proxy:/{1}}?lenya.usecase=ac.login&amp;referrerQueryString={url-encode:{request:queryString}}"/>        
+      <map:redirect-to session="true" uri="{request:requestURI}?lenya.usecase=ac.login&amp;referrerQueryString={url-encode:{request:queryString}}"/>        
     </map:match>
 
     </map:pipeline>



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