Hi all,
I am doing a small proxy using the WEBrick::HTTPProxyServer class and
I would like to capture the
referer of each HTTP request. Specifically, I need it in order to keep
trace of the html page linking to other in-line meda
(such as gif,png,etc…).
WEBrick provides a simple access log formatter.
You can specify another format. See webrick/accesslog.
Another way is use of :RequestCallback instead of :ProxyContentHandler.
A redundant example of both of them: