Hi'ya!

> How i configure mime.con for the info in  firefox change text/html to
> text/plain

I've made the test just now.. check out this:

The text/plain mime isn't in the default list, so if you request something
with the .txt extension, Cherokee won't include the content-type header:

$ wget -q -O - -s http://localhost/cosa.txt
$

You just have to add a new entry to the mime configuration file to make it
works properly:

$ echo "text/plain { suffixes txt }" > /etc/cherokee/mime.conf
$

Then, it's going to recognize the file and include the right header entry:

$ wget -q -O - -s http://localhost/cosa.txt
Content-Type: text/plain
$

In that way, it will work with all browsers.
I hope it will help you. :-)

--
Lidia ;)

_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to