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>
regards
thomas
Peter Flynn schrieb:
> Jeroen Reijn wrote:
>> Hi Peter,
>>
>> have you also considered doing this with a webserver in front of your
>> cocoon application?
>
> Yes, we currently front Tomcat with Apache httpd as a virtual host,
> but it's at the top level, eg
>
> <VirtualHost *:80>
> ServerAdmin [email protected]
> ProxyPreserveHost On
> ProxyPass / ajp://localhost:8009/
> ProxyPassReverse / ajp://localhost:8009/
> ServerName foobar.ucc.ie
> ErrorLog logs/foobar.ucc.ie-error_log
> CustomLog logs/foobar.ucc.ie-access_log combined
> </VirtualHost>
>
> I can't seem to find any information about how to refine this so that
> access to the specific URI for the feed gets checked, and all other
> accesses get allowed, unless I create a separate VH for that feed only.
>
> ///Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]