Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 634327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:17:01+00:00 2026-05-13T20:17:01+00:00

Using Apache2 (2.2.12) / Passenger (2.2.9).. Have 2 apps running.. One runs fine in

  • 0

Using Apache2 (2.2.12) / Passenger (2.2.9)..

Have 2 apps running.. One runs fine in production mode the other insists on being in development mode.

Have booted mongrel into production mode and the app works fine.. (script/server -e production)

Tried the following with no result…

Forced the RailsEnv in the apache virtual host.

Forced the RailsEnv in the passenger.conf in /etc/apache2/mods-available

=> Although production is the default mode I cannot get it to use production

I suspect the issue is somewhere between apache / passenger (and not in the rails app)

Any ideas? or suggestions

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:17:02+00:00Added an answer on May 13, 2026 at 8:17 pm

    This is probably because you have a config.ru file in your RAILS_ROOT which means that Passenger is running your Rails application as a Rack application, which means that you need to set RackEnv and not RailsEnv in your apache configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Apache2/mod_perl2 system up and running. I'm using GD to create an
I'm deploying an app to production using passenger and apache. I've deployed multiple apps
One of my rails apps (using passenger and apache) is changing server hosts. I've
I'm using Apache + passenger for my rails application, The application is running fine
I have some production Rails 2 apps. I want to start using Rails 3
I have installed rails 3.1 with apache2 and passenger on ubuntu 10.04 . using
I have an Ubuntu 10.04 server running Apache with phusion passenger that I've been
I have a rails app running on my Apache server via Passenger. Occassionally I
Is this even possible? I have a Rails app running on Passenger and a
I have two websites running on the same server. Both use passenger and rvm.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.