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

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
ServerAlias 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
[email protected].

To unsubscribe from this group, send email to
[email protected].

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

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
[email protected]