# Passenger problem

**URL:** <https://www.ruby-forum.com/t/passenger-problem/174767>\
**Category:** Rails\
**Created:** [September 2, 2009, 12:37am UTC](https://www.ruby-forum.com/t/passenger-problem/174767 "2009-09-02T00:37:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_J\_Gruber](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/d2c977/32.png) [@Eric\_J\_Gruber](https://www.ruby-forum.com/u/Eric_J_Gruber)\
**Post date:** [September 2, 2009, 12:37am UTC](https://www.ruby-forum.com/t/passenger-problem/174767/1 "2009-09-02T00:37:53Z")

</div>

I’ve used the Slicehost Intrepid instructions (http://  
[articles.slicehost.com/ubuntu-intrepid](http://articles.slicehost.com/ubuntu-intrepid)) to install a new Ubuntu server  
with Ruby, Rails and passenger.

Everything seems to be working OK, save for one thing: my application  
only service up the files that are in its public folder.

The Passenger gem is installed. I’ve done this whole process before  
without any problem. Any thoughts on how I can go about figuing how to  
fix this?

Thanx in advance.

---

<div class="post-metadata">

**Author:** ![Eric\_J\_Gruber](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/d2c977/32.png) [@Eric\_J\_Gruber](https://www.ruby-forum.com/u/Eric_J_Gruber)\
**Post date:** [September 2, 2009, 5:18am UTC](https://www.ruby-forum.com/t/passenger-problem/174767/2 "2009-09-02T05:18:57Z")

</div>

Any troubleshooting help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Eric\_J\_Gruber](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/d2c977/32.png) [@Eric\_J\_Gruber](https://www.ruby-forum.com/u/Eric_J_Gruber)\
**Post date:** [September 2, 2009, 6:27am UTC](https://www.ruby-forum.com/t/passenger-problem/174767/3 "2009-09-02T06:27:28Z")

</div>

If you look in the Apache error\_log what does the log say when the  
server restarts?

Something like this maybe?

Apache/2.2.11 (Unix) mod\_ssl/2.2.11 OpenSSL/0.9.8k DAV/2  
Phusion\_Passenger/2.2.4 configured – resuming normal operations

Do you get an error?

---

<div class="post-metadata">

**Author:** ![Eric\_J\_Gruber](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/d2c977/32.png) [@Eric\_J\_Gruber](https://www.ruby-forum.com/u/Eric_J_Gruber)\
**Post date:** [September 2, 2009, 5:30pm UTC](https://www.ruby-forum.com/t/passenger-problem/174767/4 "2009-09-02T17:30:44Z")

</div>

On Sep 1, 1:14 pm, Eric J Gruber [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thanx in advance.

A couple questions that might sound dumb, but just to be sure:

- Even though the passenger gem is installed, did you run the  
passenger install script for apache? (passenger-install-apache2-  
module)
- Is there a line that says PassengerEnabled On; in your vhost?
- Do you get a 404 or 500 when you go to a Rails url? Is there  
anything in the rails log file that indicates that it’s receiving the  
request?

Jeff

[purpleworkshops.com](http://purpleworkshops.com)

---

<div class="post-metadata">

**Author:** ![Eric\_J\_Gruber](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/d2c977/32.png) [@Eric\_J\_Gruber](https://www.ruby-forum.com/u/Eric_J_Gruber)\
**Post date:** [September 11, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/passenger-problem/174767/5 "2009-09-11T22:14:26Z")

</div>

I should not that this has been resolved.

My problem? I was trying to create another virtual host, when really,  
I needed the app to run on the default host for the server.

I added the RailsBaseURI to the default vhost config file, and then it  
worked just fine. Thanks for your help!

Eric
