Alexandre Victoor wrote:
Hello
I would like to know if it is possible to have a pipeline that can't be accessed internally.

Don't think so - but why?? You trust external users from the internet more than your own code?


I would like to be able to write something like that :

<map:match pattern="**" external-only="true">

Does not exist AFAIK.



I have already tried that :


<map:match pattern="**" internal-only="true">
...
</map:match>
<map:match pattern="**">
...
</map:match>

This is incorrect unless I've really missed something. internal-only belongs on the map:pipeline element. So,

<map:pipelines>
  <map:pipeline internal-only="true">
    <!-- all your internal map:matches go here -->
  </map:pipeline>
  <map:pipeline>
    <!-- all regular (internal/external) map:matches go here -->
  </map:pipeline>
</map:pipelines>
        
Is there already a sitemap feature that could help me ? I am using coconn 2.0.4

You may be able to use a referer matcher/selector to try to guarantee that the request is really coming from outside. I fail to understand why you need this. Maybe elaborating on that would help come up with better options.


Geoff


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to