On Jan 10, 2008 1:55 PM, Jules Bean <[EMAIL PROTECTED]> wrote:
>
> 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
>

My problem is when viewing plain darcs repositories (like mine on
darcs.johantibell.com which I recently fixed with the above mime type
hack.)

-- Johan
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to