How do I set up a Sinatra app under Apache with Passenger?

Viewed 14631

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?
2 Answers
Related