Multiple rails apps on same server

21 views
Skip to first unread message

Tigris

unread,
May 15, 2008, 10:33:02 PM5/15/08
to Phusion Passenger Discussions
Hi Guys,

Just setup passenger this morning, have to say it is super easy and i
loves it.

I do have one issue though.

<VirtualHost *:80>
ServerName testing.example.com
DocumentRoot /rails/testing
RailsEnv testing
RailsMaxPoolSize 2
</VirtualHost>
<VirtualHost *:80>
ServerName www.example.com
DocumentRoot /rails/production
RailsEnv production
RailsMaxPoolSize 10
</VirtualHost>

It would seem when using the above 2 virtual hosts on my server,
hitting the production version still has a RailsEnv of "testing".
Perhaps I am doing something wrong?

regards,
Danial

Tigris

unread,
May 15, 2008, 10:35:41 PM5/15/08
to Phusion Passenger Discussions
Bah. I just read further down the discussion list. Apologies for
posting the dupe, I see it has been fixed in the git repo. I shall go
shame myself now

Tini

unread,
Jun 17, 2008, 4:27:50 AM6/17/08
to Phusion Passenger Discussions
Where did you find the solution? I'm having kind of the same problem.
Reply all
Reply to author
Forward
0 new messages