CGI problem
Adrián Siles
adrisiro at gmail.com
Tue Jan 24 08:02:00 EST 2006
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-clientbut I recive nothing.
Execute netstat, and both are connect with the other.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20060124/c435a4bd/attachment.htm
More information about the Glasgow-haskell-bugs
mailing list