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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:01:44+00:00 2026-06-04T16:01:44+00:00

Why are the apache files the only things showing up. Why isn’t passengers page

  • 0

Why are the apache files the only things showing up. Why isn’t passengers page appearing?

What is making it point to public/public?
I did delete the index.html file because i have a static_pages controller

12296#0: *4 "/var/www/sample_app/releases/20120522195731/public/public/index.html" is not found 
(2: No such file or directory), client: 127.0.0.1, server: 

This is what appears when i go to url

Index of /
[ICO]   Name    Last modified   Size    Description
[TXT]   404.html    22-May-2012 19:57   728      
[TXT]   422.html    22-May-2012 19:57   711      
[TXT]   500.html    22-May-2012 19:57   643      
[IMG]   favicon.ico 22-May-2012 19:57   0    
[ ] passenger.3000.log  22-May-2012 21:35   488      
[ ] passenger.3000.pid.lock 22-May-2012 21:36   0    
[TXT]   robots.txt  22-May-2012 19:57   204      

Apache/2.2.20 (Ubuntu) Server at server.silvernightfall.com Port 80

I edited the apache2.conf

LoadModule passenger_module /home/ubuntu/.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.12  
/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.12
PassengerRuby /usr/local/rvm/wrappers/ruby-1.9.3-p194/ruby

And I edited the apache2/sites-available/server

<VirtualHost *:80>
ServerAdmin victoria@jbyte.com
ServerName server.silvernightfall.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>

static pages controller

class StaticPagesController < ApplicationController

  def home
  end

  def help
  end

  def about
  end

  def contact
  end
end

And a routes pages

SampleApp::Application.routes.draw do

root :to => 'static_pages#home'

 match '/signup',           to: 'users#new'

 match '/help',         to: 'static_pages#help'
 match '/about',        to: 'static_pages#about'
 match '/contact',          to: 'static_pages#contact'


end

The only other thing I think could be messing it up is the deploy.rb

                            # The name of your app
            set :application, "sample_app"

            # The directory on the EC2 node that will be deployed to
            set :deploy_to, "/var/www/#{application}"

            set :keep_releases, 3

            # deploy with git
            set :scm, :git
            set :repository,  "git@github.com:SilverNightFall/sample_app.git"
            set :git_shallow_clone, 1
            set :branch, "master"
            set :use_sudo, true

            # gets ssh info
            set :user, "ubuntu"
            ssh_options[:keys] = ["/Users/Victoria/Documents/ServerKeys/key.pem"]
            ssh_options[:forward_agent] = true
            default_run_options[:pty] = true

            # The address of the remote host on EC2 (the Public DNS address)
            set :location, "server.silvernightfall.com"

            # setup some Capistrano roles
            role :app, location
            role :web, location
            role :db,  location, :primary => true

            after 'deploy:update_code', 'deploy:symlink_db'

            namespace :deploy do

              desc "Restart Application"
              task :restart, :roles => :app do
                   run "touch #{deploy_to}/#{shared_dir}/tmp/restart.txt"
              end

              desc "Symlinks the database.yml"
              task :symlink_db, :roles => :app do
              run "ln -nfs #{deploy_to}/shared/config/database.yml    
                              #{release_path}/config/database.yml"
              end
  • 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-04T16:01:45+00:00Added an answer on June 4, 2026 at 4:01 pm

    It turns out I had to uninstall and reinstall Passenger. It looks like it was installed twice.

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

Sidebar

Related Questions

Apache Pig can load data from Hadoop sequence files using the PiggyBank SequenceFileLoader :
How does apache handle caching of certain files, and is it possible to explicitly
Hi am using apache commons upload for uploading files File file=this.getFile();//getter method for the
I'm using Apache's commons-net-2.2.jar to download a batch of files from a FTP server,
Say I have a subdomain xxx.yyy.com running Apache. The files are stored in /home/someone/public_html/xxx
I am generating xlsx file using Apache POI. On making the war and deploying
Tomcat documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/context.html) Only if a context file does not exist for the application
I'm troubleshooting a permissions problem which could be solved if all files in Apache's
I've got a short script to move apache log files that are older than
Consider the following html page, which can load in many large png files: <html>

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.