Passenger: configuration problem

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
ServerAlias www.mydomain.com

DocumentRoot /home/ruby/demo/public

<Directory /somewhere/public>

AllowOverride all
Options -MultiViews

</VirtualHost>

Ali Imran 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
ServerAlias DocumentRoot /home/ruby/demo/public
<Directory /somewhere/public>
AllowOverride all
Options -MultiViews

You need around here

Ali Imran 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,