Thanks a lot, Vadim! Now I changed my pipeline as you said, using a host selector this time:
# #<map:match pattern="**research.pdf"> # <map:generate src="content/research/research.xml"/> # <map:select type="host"> # <map:when test=localhost"> # <map:transform src="transforms/page-fo.xsl"/> # </map:when> # <map:otherwise> # <map:transform src="transforms/no-access.xsl"/> # </map:otherwise> # </map:select> # <map:serialize type="fo2pdf"/> #</map:match> # I want my pdf only to be accessible from the localhost, from other computers a different pdf should be seen. But where can I now set that localhost is the "host:port" (port is 80 in my case) in my URI? I tried with a unlisted element just below the host selector in my component part: # #<map:selector name="host" src="org.apache.cocoon.selection.HostSelector"> # <host name="localhost" value="http://localhost**"/> #</map:selector> # which is obviously wrong. So which possibilities do I have? I could not find any samples for this case. I'd be very happy to get some help, thank you Silke ______________________________________________________________________________ Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo, ist aber viel günstiger! Alle Infos: http://diba.web.de/?mc=021104 --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>