Oracle iPlanet Web Proxy Server 4.0.14 Configuration File Reference

proxy-retrieve

The proxy-retrieve function retrieves a document from a remote server and returns it to the client. It manages caching if it is enabled. The proxy-retrieve function also enables to you configure the proxy to allow or block arbitrary methods.

Syntax

Service fn=proxy-retrieve
     method=GET|HEAD|POST|INDEX|CONNECT...
    allow|block=<List-of-comma-separated-methods>

Parameters

method lets you specify a retrieval method.

allow configures the proxy to allow specified arbitrary methods.

block configures the proxy to block specified arbitrary methods.


Note –

allow takes precedence over block.


Examples


# Normal proxy retrieve
 Service fn=proxy-retrieve
# Proxy retrieve with POST method disabled
Service fn=proxy-retrieve
     method=(POST)
# Proxy retrieve allows methods FOO and BAR to pass through
Service fn=proxy-retrieve
     allow="FOO,BAR"
# Proxy retrieve blocks methods MKCOL,DELETE,LOCK,UNLOCK
Service fn=proxy-retrieve
     block="MKCOL,DELETE,LOCK,UNLOCK"