Hello
I use Cocoon2_b2. For my pdf's I made the following entry in the sitemap:
<map:match pattern="**.pdf">
<map:read src="resources/pdf/{1}.pdf" mime-type="application/pdf"/>
</map:match>
this works fine.
My question: If a pdf-File doesn't exist how can I redirect to a error-page ?
Cheers
Beat De Martin
Generali Group
Zurich, Switzerland
I use Cocoon2_b2. For my pdf's I made the following entry in the sitemap:
<map:match pattern="**.pdf">
<map:read src="resources/pdf/{1}.pdf" mime-type="application/pdf"/>
</map:match>
this works fine.
My question: If a pdf-File doesn't exist how can I redirect to a error-page ?
Cheers
Beat De Martin
Generali Group
Zurich, Switzerland
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.