Closed

Ruby (JRuby) Webserver using the TCP Server Gem

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!

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:
127.0.0.1:80: jakk.de
127.0.0.1:80: subdomain.jakk.de
127.0.0.1:80: anotherdomain.com

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

jakk.de/this/is/the/path?get=value

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

Same for "POST" data.

That's all!

Skills: Linux, Ruby on Rails

See more: ruby webserver, tcp gem ruby server, webserver tcpserver, ruby tcpserver, using re, ruby on rails linux, jruby rails, tcp server gem ruby, ruby on rails gem, webserver, tcp ip, tcp / ip, ruby, ruby linux, ip tcp, webserver post, ruby rails tcp, ruby tcp, tcp rails, ruby tcp server, using ruby rails, rails tcp, mini linux, ruby rails linux, ruby rails post

About the Employer:
( 0 reviews ) Bochum, Germany

Project ID: #2462970

3 freelancers are bidding on average €20/hour for this job

qitsol

We are ruby on rails certified team.

€20 EUR / hour
(22 Reviews)
5.1
xcoder27

I can surely help you and i already done some work on server like nginx unicorn cherokee and others and i easily configure you apache2 host file by making virtually hosting Allow me to help you

€6 EUR / hour
(0 Reviews)
0.0
JSL86i7Fq

Custom software development (<b><i>Removed by Admin</i></b>)

€33 EUR / hour
(0 Reviews)
0.0