Eric Hodel
1/31/2007 7:07:00 PM
On Jan 31, 2007, at 07:38, Mike Houghton wrote:
> I've copied some basic code for an HTTPS server
>
> ===============
> require 'webrick'
> require 'webrick/https'
>
> httpserver = WEBrick::HTTPServer.new(
> :Port => 2000,
> :DocumentRoot => Dir::pwd + "/htdocs",
> :SSLEnable => true,
> :SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
> :SSLCertName => [ ["C","JP"], ["O","WEBrick.Org"], ["CN", "WWW"] ]
> )
> ===============
>
> My question is does anyone know the full set of parameters that can be
> supplied to HTTPServer.new ?
> I can't find anything the the documentation and google/websearch
> doesn't
> give much.
WEBrick::Config has a bunch more.