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]

Reply via email to