Let’s say I have the simplest single-file Sinatra app. The hello world on their homepage will do. I want to run it under Apache with Phusion Passenger, AKA mod_rails.
- What directory structure do I need?
- What do I have to put in the vhost conf file?
- I understand I need a rackup file. What goes in it and why?
Basic directory structure:
Virtual host file:
config.ru
hello-app.rb (sample application):
restart.txtis empty.Mildly useful links: