http://7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion/public-inbox.git/tree/examples/cgi-webrick.rb?h=p516-leak
For those familiar with Perl web servers, # plackup(1) is recommended for development and public-inbox-httpd(1) # is our production deployment server. require 'webrick' require 'logger' options = { :BindAddress => '127.0.0.1' , :Port => 8080 , :Logger => Logger . new ( $stderr ), :CGIPathEnv => ENV [ 'PATH' ], # need to run 'git' commands :AccessLog => [ [ Logger . new ( $stdout ), WEBrick ::AccessLog::COMBINED_LOG_FORMAT ] ], } server = WEBrick ::HTTPServer . new ( options ) server ....