Updated app.rb for apache