I did it with the Resource-Exist Action. It works !

Thanks for your help

<map:match pattern="**.pdf">
    <map:act type="resource-exists">
    <map:parameter name="url" value="resources/pdf/{1}.pdf"/>
    <map:read src="resources/pdf/{../1}.pdf" mime-type="application/pdf"/>
    </map:act>
 <map:redirect-to uri="error_intra_new.html"/>
   </map:match>

>From: "Tom Klaasen (TeleRelay)" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: RE: HELP-blank pages
>Date: Thu, 22 Nov 2001 17:28:24 +0100
>
>Have a look at (example at the bottom of the default
>sitemap)
>
>hth,
>tomK
>
>-----Original Message-----
>From: Beat De Martin [mailto:[EMAIL PROTECTED]]
>Sent: donderdag 22 november 2001 17:01
>To: [EMAIL PROTECTED]
>Subject: HELP-blank pages
>
>
>Hi folks
>...
>
>
>
>...
>If the pdf file cannot be found, how do I redirect to an error page ??
>
>I always get a blank page !
>
>Thanks
>Beat De Martin
>
>
>
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the FAQ
>before posting. To unsubscribe, e-mail: For additional commands, e-mail:
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting.
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>


Get your FREE download of MSN Explorer at http://explorer.msn.com
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to