You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Richard Frovarp <Ri...@sendit.nodak.edu> on 2007/04/23 21:38:42 UTC

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

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