Hello,
I have recently started using the [Instiki][1] wiki which is written as
a WEBrick server running on port 2500 and would like to write a CGI
script to open it up to the web on port 80. The idea is to have the CGI
script act as a HTTP "tunnel" between port 80 and port 2500.
I have looked through the source for WEBrick classes such as
`HTTPProxyServer` and `WEBrick::CGI` but there isn't enough
documentation for me to understand how everything works. Is there a
simple way for a CGI script to create `HTTPRequest` and `HTTPResponse`
instances and then pass them to the Instiki server at localhost:2500?
When Instiki has processed the request, the idea is to then make its
response the output of the CGI script.
Thanks in advance,
Mark.
----
[1]: http://www.instiki.org/