# Passenger: configuration problem

**URL:** <https://www.ruby-forum.com/t/passenger-configuration-problem/190882>\
**Category:** Rails\
**Created:** [June 29, 2010, 11:22pm UTC](https://www.ruby-forum.com/t/passenger-configuration-problem/190882 "2010-06-29T23:22:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliibrahim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@aliibrahim](https://www.ruby-forum.com/u/aliibrahim)\
**Post date:** [June 29, 2010, 11:22pm UTC](https://www.ruby-forum.com/t/passenger-configuration-problem/190882/1 "2010-06-29T23:22:04Z")

</div>

I follow the steps to install passenger ,

I installed it in the same way,

I copy the contents on the same location it asked to do,

when i run  
passenger-install-nginx-module

I copy paste the contants in apache.conf

which includes

Loadmodule  
PassengerRoot  
PassengerRuby

I am having a problem how to setup this  
please help me where to put this and how to config if my application  
name is demo and user name is ali and root directory is home

i am stuck here

\<VirtualHost \*:80\>

ServerName [mydomain.com](http://mydomain.com)  
ServerAlias [www.mydomain.com](http://www.mydomain.com)

DocumentRoot /home/ruby/demo/public

\<Directory /somewhere/public\>

AllowOverride all  
Options -MultiViews

---

<div class="post-metadata">

**Author:** ![aliibrahim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@aliibrahim](https://www.ruby-forum.com/u/aliibrahim)\
**Post date:** [June 29, 2010, 11:54pm UTC](https://www.ruby-forum.com/t/passenger-configuration-problem/190882/2 "2010-06-29T23:54:51Z")

</div>

Ali I. wrote:

> ```
> I follow the steps to install passenger ,
> 
> I installed it in the same way,
> 
> I copy the contents on the same location it asked to do,
> 
> when i run  
> passenger-install-nginx-module
> 
> I copy paste the contants in apache.conf
> 
> which includes
> 
> Loadmodule  
> PassengerRoot  
> PassengerRuby
> 
> I am having a problem how to setup this  
> please help me where to put this and how to config if my application  
> name is demo and user name is ali and root directory is home
> 
> i am stuck here
> 
> \<VirtualHost \*:80\>
> 
> ServerName [mydomain.com](http://mydomain.com)  
> ServerAlias [www.mydomain.com](http://www.mydomain.com)
> 
> DocumentRoot /home/ruby/demo/public
> 
> \<Directory /somewhere/public\>
> 
> AllowOverride all  
> Options -MultiViews
> ```

You need \</Directory\> around here  

> ```
> </VirtualHost>
> ```

  

–   
  
You received this message because you are subscribed to the Google  
Groups “Ruby on Rails: Talk” group.  
  
To post to this group, send email to  
removed\_email\_address@domain.invalid.  
  
To unsubscribe from this group, send email to  
removed\_email\_address@domain.invalid.

For more options, visit this group at  
[http://groups.google.com/group/rubyonrails-talk?hl=en.](http://groups.google.com/group/rubyonrails-talk?hl=en.)

---

<div class="post-metadata">

**Author:** ![aliibrahim](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e19b73/32.png) [@aliibrahim](https://www.ruby-forum.com/u/aliibrahim)\
**Post date:** [June 29, 2010, 11:59pm UTC](https://www.ruby-forum.com/t/passenger-configuration-problem/190882/3 "2010-06-29T23:59:33Z")

</div>

Ali I. wrote:

> I follow the steps to install passenger ,
> 
> I installed it in the same way,
> 
> I copy the contents on the same location it asked to do,
> 
> when i run  
> passenger-install-nginx-module
> 
> I copy paste the contants in apache.conf

Why are you using the Nginx Passenger module with Apache? That probably  
won’t work.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
