Ruby (JRuby) Webserver using the TCP Server Gem

Avg Bid (EUR)
20 / hr
Project Budget (EUR)
€2 - €6 / hr

Project Description:
I need a working Ruby/JRuby driven Webserver using the TCPServer Gem.

I have a mini Server that works, but this needs to be enhanced. I do not know how to separate by domain names.

I have one server with multiple domains. From Apache2 I'm used to have the same IP but separate by the calling domain.

If you can enhance the attached file, so that I can differentiate between the domains which are calling the scripted server.

Also you have to make clearly visible by the code, how parameters separated as GET and POST parameters and also the path is being resolved.

Then you're done!

Additional Project Description:
09/05/2012 at 21:26 BST
Sorry there is a mistake in the text:

I need the file changed so that I can use the same IP and sameways I must be able to check from what domain the request is being called.

For example:

All three have the same IP, but I will be noticed that the domain is different.

Next thing is that I need the GET and POST parameters including the path

I need "/this/is/the/path" as a parameter and { "GET" => "value" } as a parameter.

Same for "POST" data.

That's all!

Hours of work: 6 Project Duration: < 1 week Skills required:
Linux, Ruby on Rails
Additional Files: webserver.rb
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

€20 / hr
Hours: 6 hr/ week
Hire JSL86i7Fq
€33 / hr
Hours: 1 hr/ week
Hire xcoder27
€6 / hr
Hours: 6 hr/ week