Re: [squid-users] Squid3: ftp gateway in accelerator mode

From: Henrik Nordstrom <[email protected]>
Date: Wed, 20 Aug 2003 09:18:00 +0200

On Wednesday 20 August 2003 05.02, Jim Flowers wrote:
> Thanks, that's very clear. I can do the rewriting OK. What I
> can't figure out is what directive(s) I use to accomplish
> "forwarded using FTP to the FTP server"

This you do with the always_direct directive.

> as I thought that was the function of cache_peer originserver.

No. cache_peer is alwaos HTTP servers. A cache_peer not marked as a
originserver is assumed to be a proxy.

> How do I tell squid where the ftp server is (not on the same host)

By the host name in the ftp:// URL given to Squid via the http(s)_port
settings or redirector helper.

> and to use ftp?

By making the URL processed by Squid a ftp:// URL, and telling Squid
to fetch this URL directly (not using any cache_peer for this URL).

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, [email protected]
Received on Wed Aug 20 2003 - 01:19:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:00 MST