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