On Wed, 4 May 2005, Linczak, Jonathan W. wrote:

> > I think this pipeline needs to be changed to something like
> >
> > <map:pipeline>
> >   <map:match pattern="**/*/">
> >         <map:redirect-to uri="../{1}.html"/>
> >       </map:match>
> >  </map:pipeline>
> >
> > because it currently doesn't make sense at all and is basically
> > useless. Please note that my suggestion isn't totally generic,
> > but I hope it explains what I mean.
>
> I think I understand what you're saying here, and I would agree
> that this probably makes more sense than the current pipeline,
> but I guess it still doesn't solve my problem.  It sounds like
> to get exactly what I want, I'll either have to do something
> different in my Apache config to rewrite the URLs, or I'll have
> to change the way Lenya works so that URLs are displayed as
> folders and never as HTML files.  Hmm, I'll experiment first
> with rewrite rules and see how easy/difficult this will be.
>

I am not sure whether this will help but for one of our publication we use
the following RewriteRule

    RewriteRule      ^/(.+)/$ $1.html [R]

The client can therefore use url's like

http://www.ori.unizh.ch/institute/open/ which will be rewritten to
http://www.ori.unizh.ch/institute/open.html forwarded to the servlet
engine.

Jann


---------------------------------------------------------------
Jann Forrer
Informatikdienste
Universit�t Z�rich
Winterthurerstr. 190
CH-8057 Zuerich

oooO   mail:  [EMAIL PROTECTED]
(  )   phone: +41 44 63 56772
 \ (   fax:   +41 44 63 54505
  \_)  http://www.id.unizh.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to