All Resources All filters

# ProxyDirectory

This class implements a full blown caching-proxy module for Jigsaw. It relies on the w3c's HTTP client side API to handle both request forwarding and reply caching.

If the handle-ftp attribute is set to true this resource will also fullfil FTP requests. It will not cache the result, however. Redirectin FTP traffic to an upward proxy can be done through the following (standard) Java properties (to be set in the `config/server.props` file):

    ftpProxyPort=8080
    ftpProxyHost=cache-sop.inria.fr
    ftpProxySet=true

Warning: Do not try to use this resource class in conjunction with the VirtualHostResource class: HTTP specification doesn't allow to have virtual proxies.

## Inherits

The ProxyDirectory class inherits from the following classes:

- ForwardDirectory

## Attributes description

The VirtualHostResource defines the following attributes:

- handle-ftp

`handle-ftp`

semantics
  Should the proxy also handle FTP urls ? If set to true the proxy will handle requests targeted toward ftp servers.
type
  This attribute is an editable BooleanAttribute
default value
  This attribute defaults to false.

Jigsaw Team
$Id: w3c.jigsaw.proxy.ProxyDirectory.html,v 1.2 1996/09/25 14:23:13 abaird Exp $