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/04/23 10:41:50 UTC

svn commit: r531380 - /lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap

Author: andreas
Date: Mon Apr 23 01:41:49 2007
New Revision: 531380

URL: http://svn.apache.org/viewvc?view=rev&rev=531380
Log:
Added redirects for <pub> and <pub>/

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

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=531380&r1=531379&r2=531380
==============================================================================
--- lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap (original)
+++ lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap Mon Apr 23 01:41:49 2007
@@ -76,7 +76,15 @@
     </map:pipeline>
       
     <map:pipeline>
-
+
+      <map:match pattern="*">
+        <map:redirect-to uri="{1}/introduction.html"/>
+      </map:match>
+      
+      <map:match pattern="*/">
+        <map:redirect-to uri="introduction.html"/>
+      </map:match>
+      
     <map:match pattern="**">
       <map:match pattern="*/webdav**">
         <map:act type="authorizer">



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


Re: svn commit: r531380 - /lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap

Posted by Richard Frovarp <Ri...@sendit.nodak.edu>.
andreas@apache.org wrote:
> Author: andreas
> Date: Mon Apr 23 01:41:49 2007
> New Revision: 531380
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=531380
> Log:
> Added redirects for <pub> and <pub>/
>
> Modified:
>     lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap
>
> 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=531380&r1=531379&r2=531380
> ==============================================================================
> --- lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap (original)
> +++ lenya/trunk/src/webapp/lenya/config/sitemap/pipelines.xmap Mon Apr 23 01:41:49 2007
> @@ -76,7 +76,15 @@
>      </map:pipeline>
>        
>      <map:pipeline>
> -
> +
> +      <map:match pattern="*">
> +        <map:redirect-to uri="{1}/introduction.html"/>
> +      </map:match>
> +      
> +      <map:match pattern="*/">
> +        <map:redirect-to uri="introduction.html"/>
> +      </map:match>
> +      
>      <map:match pattern="**">
>        <map:match pattern="*/webdav**">
>          <map:act type="authorizer">
>
>   

This breaks the index page at localhost:8888. First match results in 
localhost:8888/introduction.html/introduction.html. Second match doesn't 
interfere with anything, but doesn't allow for localhost:8888/default to 
work properly.

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