cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: /home/userx/~public_cocoon LIKE ./~public_html ?
Date Wed, 18 Dec 2002 12:47:56 GMT
From: "Piotr Legiecki" <piotrlg@sci.pam.szczecin.pl>
> Konstantin Piroumian wrote:
> 
> >Just take a look at the sitemap in /src/webapp/userhomes (Cocoon 2.1):
> >
> >       <map:match pattern="~*/**">
> >         <map:mount check-reload="yes" src="/home/{1}/public_html/"
> >uri-prefix="~{1}"/>
> >       </map:match>
> >
> >       <map:match pattern="~*">
> >         <map:redirect-to uri="{0}/"/>
> >       </map:match>
> >
> >These two matchers would do the trick.
> >
> >  
> >
> 
> Is it possible under Cocoon 2.0.x?

Sure, why not?
Just try and let us know if there are any problems with it.

Konstantin

> 
> Regards
> Piotr Legiecki
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message