downloading text files from apache

fbsd_user fbsd_user at a1poweruser.com
Wed Mar 3 07:17:53 PST 2004


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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Peter
Risdon
Sent: Wednesday, March 03, 2004 9:38 AM
To: fbsd_user at a1poweruser.com
Cc: freebsd-questions at 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 at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list