cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <l.mo...@tin.it>
Subject RE: Subsitemap problem
Date Wed, 09 Jan 2002 14:14:21 GMT
Bartomeu,

you should use src="file:///d:/dades/webuib/serveis/sci/". 
By the way, there in a FAQ entry about it.

Best regards,

--------------------------------------------- 
               Luca Morandini 
               GIS Consultant 
              lmorandini@ieee.org 
http://utenti.tripod.it/lmorandini/index.html 
---------------------------------------------
 

> -----Original Message-----
> From: Bartomeu Adrover [mailto:tomeu.adrover@uib.es]
> Sent: Wednesday, January 09, 2002 2:37 PM
> To: Cocoon
> Subject: Subsitemap problem
> 
> 
> Hello
> I have intalled a Cocoon 2 with Tomcat 4 in a Windows NT server. I
> create a subsitemap outside of the cocoon directory. I include the
> sitemap with this code in the main sitemap:
> <map:pipeline>
>    <map:match pattern="sciprova/**">
>     <map:mount check-reload="yes" src="d:/dades/webuib/serveis/sci/"
> uri-prefix="sciprova"/>
>    </map:match>
>    <map:handle-errors>
>     <map:transform src="stylesheets/system/error2html.xsl"/>
>     <map:serialize status-code="500"/>
>    </map:handle-errors>
>   </map:pipeline>
>  </map:pipelines>
> 
> And when I try to acces an url in the sitemap the cocoon returns me file
> not foud. The problem is correct if I put the subsitemap in the same
> directory of the cocoo and call them with  this tag:
> <map:mount check-reload="yes" src="sciprova/" uri-prefix="sciprova"/>
> Someone have an idea for create an sitemap outside the cocoon main
> directory?
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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