Author Topic: TinyMCE (?) issue: download instead of display  (Read 2426 times)

Offline cbrace

  • Full Member
  • ***
  • Posts: 75
TinyMCE (?) issue: download instead of display
« on: April 30, 2008, 06:41:32 AM »
Hi all,

When I open the RC editor window, I keep getting a dialog box:

  Download this file?
  File Type: “unknown”.
  You have no application able to open “blank.gif”. You can download it instead.

In a similar (the same?) vein, if I click on one of several icons in the editor menu bar (Smiley, Omega, HTML, Image, or Media), a small window is briefly flashed, then either I get the same dialog again or the browser saves directly to disk, depending on its settings, and I end up with these files on disk:

emotions.htm
charmap.htm
source_editor.htm
image.htm
media.htm

Anyone know what's going on here?

I am wondering if it might be a MIME configuration issue with my webserver. FWIW: I am running ligghttpd v1.4.19 under FreeBSD v7.

Thanks.

Update Yep, MIME. I added these two types to lighttpd.conf:

  ".htm" => "text/html",
  ".gif" => "image/jpeg",

and it solved the problem. I had only .htm, .jpg, and .png defined.
« Last Edit: April 30, 2008, 06:46:16 AM by cbrace »