logo       

CGI problem: msg#00173

lang.haskell.glasgow.bugs

Subject: CGI problem

I write to us for report that pwrapper and connectToCGIScript don't connect in both. This is my code:

CGI's client:
=======

module Main(main) where
import Network.CGI
import Network

main :: IO ()
main = connectToCGIScript  "localhost" (PortNumber 1027)

CGI's server:
=======

module Main(main) where
import Network.CGI
import Text.Html
import Network

main :: IO ()
main = pwrapper (PortNumber 1027) (\env -> return (stringToHtml "patata"))

I'm trying to connect by APache server: http://localhost/cgi-bin/cgi-client but I recive nothing.

Execute netstat, and both are connect with the other. _______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise