On Wed, Mar 16, 2011 at 8:05 AM, Ketil Malde <ke...@malde.org> wrote:

> frode k <mailingl...@klevstul.com> writes:
>
> > However I do of course want to run it through CGI on a webserver. I'm
> > running lighttpd. If I try to run the file compiled above I get "500 -
> > Internal Server Error", most likely since the enviroment is not correct
> for
> > dynamic linked files:
>
> Why wouldn't the environment (i.e. available dynamic libraries) be
> correct for the web server?
>

You are right, dynamically linked files do work.

It must be something with Lighttpd that prevents the Haskell compiled CGI
code to be executed. When I moved the exact same CGI file to the cgi-bin
directory on my Apache it ran without problems.

If I do find out why I can not run Haskell CGI on Lighttpd I will send an
update on this.

Thanks for your feedback.

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

Reply via email to