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 8851469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:09:46+00:00 2026-06-14T13:09:46+00:00

Env: OpenSUSE 11.4 Apache 2.2.17 Passenger 3.0.18 Ruby 1.8.7 Rails 3.2.8 I have already

  • 0

Env:

  • OpenSUSE 11.4
  • Apache 2.2.17
  • Passenger 3.0.18
  • Ruby 1.8.7
  • Rails 3.2.8

I have already installed RoR application under apache – ChiliProject (but using rails 2.3.14) and it works fine.

It’s installed in /chiliproject and In httpd config (actually in default-server since I don’t have vhosts) I have “RailsBaseURI /chiliproject/public”.

Now, I need to develop own application (first experience in web developing).

“rails new hello_world”, Webrick works fine, but I want to run it under apache with CGI. I added “RailsBaseURI /hello_world/public”. But it doesn’t work properly. When I press “About your application environment” on index page it gives me 404 “The page you were looking for doesn’t exist.”. For any routes in rails it gives either error 500 or 404. But same routes and controllers work fine with webrick. And even if I put ChiliProject into /hello_world it works. This means that problem is not with apache or passenger.

No apache/passenger errors in log, just 404 or 500. I tried “rails 2.4.13 new hello_world” but it gives me a lot of errors and simple googling doesn’t solve all of them. So, I can’t easily create a new project with rails 2.4.13 which works fine with another app and I don’t think it can help.

I read on the ruby website that 1.8.7 may cause crashes with rails3. After that I spent 4 hours working around RVM and different ruby versions. After all, ChiliProject (even latest version) doesn’t work with ruby 1.9 and my original problem did not gone. Now I have all thing back (ruby 1.8.7 from distro’s repo and no RVM).

  • 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-06-14T13:09:48+00:00Added an answer on June 14, 2026 at 1:09 pm

    If your webbrick works, big change something wrong with your apache config file.

    I use bitnami RubyStack and config below without any issues:

    <VirtualHost *:80>
        ServerName www.myhostname.com
        DocumentRoot /home/bitnami/app_name/public  
        RailsEnv development
        <Directory /home/bitnami/app_name/public>
            Allow from all
            Options -MultiViews
        </Directory>
    </VirtualHost>
    

    My Passenger version:

    :~$sudo passenger-config --root
    /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/passenger-3.0.17
    

    Please check if passenger is running:

    :~$sudo passenger-status
    
    ----------- General information -----------
    max      = 6
    count    = 2
    active   = 0
    inactive = 2
    Waiting on global queue: 0
    
    ----------- Application groups -----------
    /home/bitnami/app_1:
      App root: /home/bitnami/app_1
      * PID: 4972    Sessions: 0    Processed: 24      Uptime: 33h 38m 14s
    
    /home/bitnami/app_2:
      App root: /home/bitnami/app_2
      * PID: 24538   Sessions: 0    Processed: 1682    Uptime: 296h 14m 44s
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can't access env variables in the Rails console, while in the application they
My env: ruby-1.9.2-preview3; rails-3.0.0.beta3 class PostFather < ActiveRecord::Base def self.inherited(subclass) end end class Post
I am configuring the env on Vista. I have jdk-6u30 and eclipse-jee-indigo-SR1-win32 installed on
Env: Maven 2.2.1 I have two java projects under svn (projectA, projectB). My maven
I have a Virtual env for my django project, but when I hit pip
I had request.env['http_host'] working on localhost, but it causes an error when referenced in
Is it possible to access Rails.env inside Sass files? I'm trying to do it
Env: JPA 1, Hibernate 3.3.x, MySQL 5.x We auto generate database schema using hbm2ddl
Env: jQuery, richfaces We would like to disable copying (using CTRL+A) sensitive information on
I have some ENV variables that are sourced for the deploy user. (Similar 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.