From owner-freebsd-questions@FreeBSD.ORG Wed Mar 3 07:17:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3152D16A4CE for ; Wed, 3 Mar 2004 07:17:53 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1DCB43D2D for ; Wed, 3 Mar 2004 07:17:52 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.119]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040303151752.ZYLE7345.mta10.adelphia.net@barbish>; Wed, 3 Mar 2004 10:17:52 -0500 From: "fbsd_user" To: "Peter Risdon" Date: Wed, 3 Mar 2004 10:17:52 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <4045EDD0.9000005@circlesquared.com> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal cc: "freebsd-questions@FreeBSD. ORG" Subject: RE: downloading text files from apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 15:17:53 -0000 I got no info found for man mime.types Are you saying that if I delete the statement for .txt out of the /usr/local/etc/apache/mime.types file that apache will download .txt files? Is there some statement I can add to httpd.conf to over ride the mime.types file? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Peter Risdon Sent: Wednesday, March 03, 2004 9:38 AM To: fbsd_user@a1poweruser.com Cc: freebsd-questions@FreeBSD. ORG Subject: Re: downloading text files from apache fbsd_user wrote: >>From my web page I link to .zip, .tgz, and .exe files and when the >link >is clicked, apache will open window to download the file. > >When I link to an .txt file it gets opened and displayed. I want to >have it open for download like the other files. > >Is there some config option in httpd.conf that I have missed? > > To understand the issue, read the man page for mime.types(5), and look at /usr/local/etc/apache/mime.types Text files are meant to be displayed like that. Easiest answer is to compress them and offer the compressed version for download. PWR. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"