Friday, June 13, 2008

Safari cannot display .f files correctly [lighttpd].

There is no line break, and all lines are show in one line of safari browser.
After look in the /usr/local/etc/lighttpd.conf file, I figure out that I should set ".f" file type as text/plain, just as the ".c" files.

Thus, insert a line below the ".c" file type:
".c" => "text/plain",
".f" => "text/plain",

It works!

No comments: