â [æ¥è¨][ããã°ã©ã ] WEBrick (ruby) ã§proxyï¼ãç¹ã«èªè¨¼ ããããããã¨ãã³ã³ãã³ãã¨ããã£ã«ã¿ãªã³ã°ã¨ãå¦ãªåä½ãï¼ç¬ï¼ããã訳ããåããããªãï¼ï¼ç¬ï¼ ããã¯ã¨ãããã å人ã§ä½¿ããªããã»ã¨ãã©ã®ã±ã¼ã¹ãRubyist Magazine - WEBrickã§ãããã·ãµã¼ããä½ã£ã¦éã¶ã®ãã¼ã¸ã ãã§äºè¶³ããã ã¶ã£ã¡ããã㨠#!/usr/bin/env ruby require 'webrick' require 'webrick/httpproxy' server = WEBrick::HTTPProxyServer.new({ :BindAddress => '127.0.0.1', :Port => 3128, :ProxyVia => false }) trap('INT'){ server.shutdown } server.start ãããªæãã§
{{#tags}}- {{label}}
{{/tags}}