Received: with ECARTIS (v1.0.0; list gopher); Fri, 11 Oct 2002 13:32:19 -0500 (EST) Return-Path: Delivered-To: gopher@complete.org Received: from wile.excelhustler.com (unknown [68.99.114.102]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client did not present a certificate) by gesundheit.complete.org (Postfix) with ESMTP id 9485261BB4; Fri, 11 Oct 2002 13:32:17 -0500 (EST) Received: by wile.excelhustler.com (Postfix, from userid 1000) id BBB1B772D; Fri, 11 Oct 2002 13:32:15 -0500 (CDT) Date: Fri, 11 Oct 2002 13:32:15 -0500 From: John Goerzen To: gopher@complete.org Cc: stephanie@thinkers.org Subject: [gopher] Re: embarrassing newbie question Message-ID: <20021011183215.GC5635@excelhustler.com> References: <200210082314.37485.hardburn@runbox.com> Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Content-Transfer-Encoding: 8bit X-archive-position: 701 X-ecartis-version: Ecartis v1.0.0 Sender: gopher-bounce@complete.org Errors-to: gopher-bounce@complete.org X-original-sender: jgoerzen@complete.org Precedence: bulk Reply-to: gopher@complete.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-ID: Gopher X-List-ID: Gopher List-subscribe: List-owner: List-post: List-archive: X-list: gopher On Fri, Oct 11, 2002 at 01:05:42PM -0400, Stephanie Smith wrote: > First off, I am running the latest version of UMN's gopherd. gopherd > serves up files and directories inside its document root no problem. I > seem to be running into problems, though, when I try to link to outside > services with the .Links file. OK, the problem is that you're specifically trying to link to a FTP site rather than a Gopher site. In the Old Days, gopher servers would actually act as gateways. A gopher client would request the ftp:whatever selector from your own gopher server. The gopher server would FTP over to the site, pull over the file, and transparently hand it off to the client. Obviously this is inefficient and not really good for everyone involved, not the least of which is the server operator. This is what the ftp: thing in UMN gopherd is doing, but the gateway to handle that is no longer supported -- and you probably don't have it installed or configured anyway. The New Way is with a URL link. You can read about it at gopher://gopher.quux.org/0/Archives/Mailing%20Lists/gopher/gopher.2002-02%3f/MBOX-MESSAGE/34 To do this with PyGopherd, you would say: Name=Cool ftp directory Type=h Path=/URL:ftp://updates.redhat.com/ Host=+ Port=+ My recommendation for anyone starting a new server is to go with PyGopherd instead of UMN Gopherd. Take it from someone that maintains both :-) You can also find an extensive, up-to-date manual for Pygopherd at http://gopher.quux.org:70/devel/gopher/pygopherd You can also get to that with Gopher. See the url.HTMLURLHandler section for more details on what you specifically are trying to do. PyGopherd supports Gopher, Gopher+, and HTTP protocols and an extended subset of the extras supported by UMN Gopherd. PyGopherd does not support ASK blocks but can serve up Maildirs as gopher directories, for instance.