Peter Flynn wrote:
Thomas Markus wrote:
hi,

look at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#access

or use a matcher/selector in your sitemap

<map:select type="parameter">
    <map:parameter name="parameter-selector-test"
value="{request:remoteAddr}" />
    <map:when test="127.0.0.1">
        <!-- actions for this ip -->
    </map:when>
    <map:otherwise>
        <!--  -->
    </map:otherwise>
</map:select>

That look like the right approach...except I can't find any documentation at http://cocoon.apache.org/2.2/core-modules/core/2.2/840_1_1.html on the syntax of the test attribute.

I found some under the entry for Parameter Selector but it appears that the test will only perform a plain equality. Is there a way to perform a substring operation; when testing an IP address for access permission I want to allow all xxx.yyy.*.* and prohibit everything else.

///Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to