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 
              [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
---------------------------------------------
 

> -----Original Message-----
> From: Bartomeu Adrover [mailto:[EMAIL PROTECTED]]
> 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to