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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T05:32:58+00:00 2026-06-04T05:32:58+00:00

How do you set up apache to show the rails app once it is

  • 0

How do you set up apache to show the rails app once it is on the server? My rails app works perfectly on the localhost, but when I go to the external site it gives me the index information

like this

Name    Last modified   Size    Description
[TXT]   404.html    21-May-2012 21:38   728      
[TXT]   422.html    21-May-2012 21:38   711      
[TXT]   500.html    21-May-2012 21:38   643      
[IMG]   favicon.ico 21-May-2012 21:38   0    
[TXT]   robots.txt  21-May-2012 21:38   204      

This is my virtual host information

<VirtualHost *:80>
      ServerAdmin example@example.com
      ServerName server.example.com
      # ServerAlias
      DocumentRoot /var/www/sample_app/current/public
      ErrorLog /var/www/sample_app/error.log

          RailsEnv production
        <Directory "/var/www/sample_app/current/public">
          Options Indexes FollowSymLinks MultiViews
          Order allow,deny
          Allow from all
        </Directory>
</VirtualHost>
  • 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-04T05:33:00+00:00Added an answer on June 4, 2026 at 5:33 am

    OK that might not be it, but here’s what Passenger’s documentation recommends:

    <VirtualHost *:80>
        ServerName www.mycook.com
        DocumentRoot /webapps/mycook/public
        <Directory /webapps/mycook/public>
            Allow from all
            Options -MultiViews
        </Directory>
    </VirtualHost>
    

    It’s clearly stated that MultiViews is not compatible with Passenger.

    So you could try:

    • Removing the Indexes option
    • Specifying -MultiViews instead of MultiViews

    To be honest, I’ve tried adding Indexes to a production app of mine, as I thought that might just be this option that caused the problem, but it didn’t change anything… so it’s a bit of a “wild guess” that it might fix things on your side.

    UPDATE
    From another answer, what you could try is adding the PassengerResolveSymlinksInDocumentRoot option:

    <VirtualHost *:80>
        ServerName www.mycook.com
        DocumentRoot /webapps/mycook/public
        <Directory /webapps/mycook/public>
            Allow from all
            Options -MultiViews
            PassengerResolveSymlinksInDocumentRoot on
        </Directory>
    </VirtualHost>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have Tomcat application server set up at port 8080 and Apache Http Server
I have set up the Apache tomcat 5 to support ssl. Created self signed
In a project I am working on, Apache is set up to only forward
I'm trying to set Excel cell colors using Apache POI in Java. I played
I have successfully set up an HgWebDir instance over CGI with Apache, and I
I am trying to set my user agent string in the HttpClient apache object
How do you set focus on a component with Apache Wicket? Searching leads to
Is there a way to set php running under apache to create folders with
I have installed apache-tomcat-6.0.35-windows-x86 in my system. How can I configure it and set
I've set up DAV in apache2, which works great. The thing is, all read/write

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.