Hi all,

when I try to use runghc to execute cgi scripts in apache (on redhat
linux), they all fail with with the message "HOME: getEnv: does not
exist". I assume this means that GHC is trying to find the HOME dir of
the user for some reason, and fails since apache runs as nobody. Could
someone shed some light on this matter for me?

#!/usr/bin/runghc
main = do putStrLn "Content-type: application/xhtml"
          putStrLn "Content-length: 5\n"
          putStrLn "Hello"

Thanks,

/Niklas
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to