Thank you very much Regis for your reply and information, that’s exactly
what I guessed by searching around… but once I setup Sinatra and a
server/daemon is created on port 6050, how can I call that port from the
standard port 80 of the index.html of my domain name? via .htacces??
Thank you very much Regis for your reply and information, that’s exactly
what I guessed by searching around… but once I setup Sinatra and a
server/daemon is created on port 6050, how can I call that port from the
standard port 80 of the index.html of my domain name? via .htacces??
Thank you again.
Best,
Fab.
The application Sinatra is a HTTP server. so no need of apache.
you can change the port with -p option.
(must be root for port 80)
So :
sudo rackup -p 80
Or you can make a redirection in you apache configuration :
#with mod_rewrite
RewriteEngine on
RewriteRule “^/nuts/(.+)” “http://mydns:6050/”
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.