If you are using the CGI library in GHC 6.0 I had problems with the functions pwrapper and connectToCGIScript. In their original form the request is buffered and does not get passed on to the server. I had to modify the source and turn all buffering off before it worked. Tom