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

One of my rails apps (using passenger and apache) is changing server hosts. I've
I have a Rails app that is running on a production server with Apache
I am using apache ant to generate javadoc for my project. I have a
I have a web site using apache httpd as the server and mysql as
In several years I am using my workstation as development environment. I think that
I am setting up a development environment for ruby on rails. Using rails 3.0,
I am trying to configure SSL on my localhost using apache and phusion passenger.
I am deploying an app on Ubuntu 10 using Passenger 2.2.15, Rails 2.3.5, Ruby
I am having an issue deploying a flask app on apache2 using wsgi. I
Using Apache's commons-httpclient for Java, what's the best way to add query parameters to

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.