Er, no. A fastcgi executable is (like a cgi executable) controlled by the front
end web server. I run my fastcgi using Apache as the front end. The front
end web server will control things like the port number.
Mauricio wrote:
Hi,
I'm learnng to use fastcgi and, reading the examples,
I see the main "loop" is like this:
main = runFastCGI my_work
However, isn't a fastcgi program supposed to choose
a port where to listen to calls? For instance, in this
C example:
xzdev.com/nginx_fastcgi.html
doesn't the line
listen_socket = FCGX_OpenSocket(":8002", 2000);
says it's listening to port 8002? I read the code
for fastcgi, from hackage, and I can't find anything
related to ports like, for instance, a default port.
Am I understanding something the wrong way?
Thanks,
MaurĂcio
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe