* Mark Reid <mark@threewordslong.com> [0435 09:35]:
> 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.
I'd use something like mod_proxy to do that - see the recent thread
on ruby-talk about just this issue.
--
We don't understand the software, and sometimes we don't understand the
hardware, but we can *___see* the blinking lights!
Rasputin :: Jack of All Trades - Master of Nuns