And was just wondering if it’s possible to host PHP on the same box as
well !?
You can host all manner of dynamic and static sites on the same box:
ruby, php, java,
perl, cgi, etc. The problem is that, unless you want to make your end
users put port
numbers in their urls (e.g. http://myhost.com:3000/), you need to have
something
responding on port 80 that will internally redirect the request to the
right app/process.
You can do this using apache’s vhost abilities, mod_rewrite, mod_proxy,
etc. I’m sure
LigHTTPD has similar capabilities. There’s probably documentation on
this in the ruby docs
somewhere, but really, if you’re gonna use Apache, you should spend some
quality time with
the apache docs.
b
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.