superclass=WEBrick=GenericServer
type=class
library=webrick.httpserver
extended=
included=

HTTP Фεǽ󶡤륯饹Ǥ

ʲ HTTP ФȤƤưǤ

 require 'webrick'
 srv = WEBrick::HTTPServer.new({:DocumentRoot => '/home/username/public_html/',
                                :BindAddress => '127.0.0.1',
                                :Port => 10080})
 srv.mount('/hoge.pl', WEBrick::HTTPServlet::CGIHandler, 'really_executed_script.rb')
 srv.start
