Date: Wed, 03 Mar 2004 14:38:08 +0000 From: Peter Risdon <peter@circlesquared.com> To: fbsd_user@a1poweruser.com Cc: "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: downloading text files from apache Message-ID: <4045EDD0.9000005@circlesquared.com> In-Reply-To: <MIEPLLIBMLEEABPDBIEGCENOFNAA.fbsd_user@a1poweruser.com>
index | next in thread | previous in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4045EDD0.9000005>
