Reject Non-localhost Attempts to Access Webrick?

Maybe just bind the server to the localhost ip address 127.0.0.1 and then you won't have to worry about non-localhost connections: s = WEBrick::HTTPServer. New( :Port => 3344, :BindAddress => "127.0.0.1" ) s. Start (the above code is off the top of my head but im sure you get the idea).

Awesome. I'll figure this out from your example. Thank you!

– Yar Jul 20 '09 at 15:56 Forgot to mention: this works perfectly, and in fact the line is as you say. – Yar Jul 20 '09 at 20:12 cool, glad it worked for you :) – QAZ Jul 20 '09 at 20:17.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions