Re: FTP PUT from the Publish button of Netscape Gold

From: Barry Cornelius <Barry.Cornelius@dont-contact.us>
Date: Fri, 30 Aug 1996 16:45:52 +0100 (BST)

-----BEGIN PGP SIGNED MESSAGE-----

Barry.Cornelius@durham.ac.uk writes:
>Netscape 3.0b7 allows you to edit a WWW page on your PC and then hit the
>Publish button when you want to copy the file to the server. This works
>fine if I configure Netscape to have "No Proxies". However, if I
>configure Netscape to use our local cache, then Squid (1.0.6) gets in the
>way. I get the following error message:
>...
>Two problems:
>1. The error message given earlier implies to me that the Squid
> software thinks I'm doing an FTP GET rather than an FTP PUT.
>2. My unencrypted password is in both the access and hierarchy logs.
> This ought not to occur.
>Is Squid behaving properly? Have I misconfigured something?
>Can I configure myself out of the first problem?

Thank you to those you responded to this message. Many of you suggested
that I could tell my WWW browser not to go near the cache for FTP PUTs.

We are not caching accesses to local files, i.e., we have:

   http_stop http://www.dur.ac.uk

Seeing we are doing this, it makes sense to tell WWW browsers to go DIRECT
for all local accesses. So the automatic proxy configuration file now
says:

function FindProxyForURL(url, host)
{
    if ( isPlainHostName(host) || dnsDomainIs(host, ".dur.ac.uk") )
        return "DIRECT";
    if ( dnsDomainIs(host, ".ac.uk") )
        return "PROXY www.dur.ac.uk:8081; DIRECT";
    else
        return "PROXY www.dur.ac.uk:8081;PROXY wwwcache.hensa.ac.uk:8080;DIRECT";
}

It's so obvious. Thanks for your help on this.

- --
Barry Cornelius Telephone: (0191 or +44 191) 374 4717
User Services Division, IT Service, IT Service Office: 374 2892
Science Site, University of Durham, Fax: 374 3741
Durham, DH1 3LE, UK E-mail: Barry.Cornelius@durham.ac.uk

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMicMt6GgSldA40uVAQGx3QQAqHC5va+dRLFpyiG5X04OL0EbD6m32ifO
dKLLDDmAHzafaZESIWTD+7KdVL7fkLcZRcFpraGVPZ/TN8wythvTw7jxvJ7cFl5D
8PcVuMu0pGDBAophbFvDApWJidjm1npI/YdICMVIo46XFhdkGIwmPqYaUhiVSC5h
pwBAsV/tjaA=
=WGa8
-----END PGP SIGNATURE-----
Received on Fri Aug 30 1996 - 08:48:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:53 MST