
10 Jan
2008
10 Jan
'08
12:55 p.m.
Johan Tibell wrote:
Adding the following to my lighttpd config (on Ubuntu Feisty) solves the problem from the server side:
#### external configuration files ## mimetype mapping
# change mime type for haskell source files so they get displayed # inside the browser include_shell "/usr/share/lighttpd/create-mime.assign.pl" mimetype.assign += ( ".hs" => "text/plain", ".lhs" => "text/plain" )
Fortunately the new haddock uses hscolour, so HS files are served as (colourised!) HTML and the problem is no longer a problem, for me. Jules