Questions tagged [phusion-passenger]

Phusion Passenger (originally called mod_rails or mod_rack) is a Rails application server designed for easy deployment and low maintenance hosting of Rack apps, including Rails, Sinatra, Camping, and other ruby-based web development micro-frameworks. Passenger supports both Apache and NGinx webservers and is written in C++.

More about Phusion Passenger: http://www.modrails.com/

482 questions
0
votes
2 answers

Phusion Passenger can't access mysql

I can connect to the db from terminal. The rails console connects fine also and I can return objects, mod them and do what ever from there. So database.yml must be ok But for some reason the Passenger just won't connect.. What am I…
Trevor Nowak
  • 103
  • 2
0
votes
1 answer

Problem deploying a Rails application with Passenger

I'm trying to deploy a Ruby on Rails Application using Passenger and Apache but I have some trouble. When I try to go to example.com/tournament, I get an error saying that the Ruby on Rails application couldn't be started along with the following…
0
votes
2 answers

BigIP load balanced Rails 3 / Apache app not handling selective SSL correctly?

So here's the setup. I've got a Rails 3 application deployed to two servers, both running Apache2, both with identical VirtualHost configs, both operating on Passenger. There are a few routes in the Rails application that require requests to be done…
0
votes
3 answers

RMagick on EC2/Nginx/Passenger performance is horrible

I have a small RoR app that generates images using RMagick and the performance is not anywhere near where I thought it would be. The server configuration is a 64-bit Ubuntu 11.04 image on EC2 running Rails 3.1RC4 / Ruby 1.9.2 / Nginx / Passenger. …
0
votes
1 answer

phusion passenger, apache2 only works with www

I have apache 2, phusion passenger. This is on cpanel. I followed the directions to change the documentroot and have the changes stick. Here is some of the pertinent httpd.conf ServerName example.com ServerAlias www.example.com DocumentRoot…
0
votes
1 answer

Apache2 + Phusion Passenger - either different port, or all pages overridden

I'm serving several PHP sites on Apache2. Now I'm trying to also serve a Rails app with mod_passenger. Thing is: when I set mod_passenger to listen on railsapp.com:81, it works. Also the PHP sites work. Now if I set railsapp.com:80, ALL the sites…
MrB
  • 21
  • 2
0
votes
2 answers

Do I need to install nginx during the passenger installation

I am trying to install Passenger for Nginx: $ gem install passenger $ passenger-install-nginx-module During the installation Passenger want to compile and install Nginx. Is it necessary step? I have checked my installation and found that I have…
ceth
  • 526
  • 1
  • 7
  • 16
0
votes
1 answer

OSX Server 10.6.7 + Apache2: Setting Up IP-Based Virtual Hosting

I've developed a small Rails app that I need to run on my local network. I got Apache2 and Phusion Passenger set up, and the app is running on the server at http://myapp.dev, but I am not sure how to set it up so that I can access the app from any…
0
votes
1 answer

Sporadically regular Rails (Passenger) outages

We're running a Rails application under Passenger (via Apache) on an application server. There is a front-end web server (also running Apache setup as a proxy) in front of the application server. Sporadically, the connection between the web server…
shedd
  • 101
  • 2
0
votes
1 answer

Passenger for RoR and LAMP for WordPress

I'm working on setting up my first server on Linode. I have: installed apache installed mysql installed passenger installed php bunch of other things I'm pretty sure my Passenger + rails is mostly working (have an error, but that's a different…
RyanJM
  • 101
  • 2
0
votes
2 answers

Default File Permissions (Passenger, Rails, Ubuntu Server)

I've deployed a Rails application that is using page caching and is run via Passenger on Ubuntu Server. Rails caching simply uses Ruby's File.open to write the cached files. Unfortunately these files are being written with mode 666. The umask for…
0
votes
1 answer

To what extent does mod_suexec interact with Passenger?

On a shared server (specifically a DreamHost shared server running Debian, but I don't know if this matters) with mod_suexec activated and with PHP and Python forced to use CGI or FastCGI, would you expect Passenger processes to be run as the Apache…
user61015
0
votes
1 answer

Rails 3 passenger nginx application spawner server error on Synology NAS

Question updated, please read UPD2. I'm trying to deploy app through passenger nginx module on DS710+ (ruby 1.9.2p0 installed). There is syntax error relative to has_and_belongs_to_many_association.rb file. Please look at the screenshot(deleted,…
0
votes
1 answer

Installing Redmine on Ubuntu 10.04

I'm having some issues installing Redmine on Ubuntu 10.04. I basically ran the following: sudo apt-get install redmine redmine-sqlite redmine-mysql It walked me through things and I configured Redmine to use SQLite 3. Then, using Passenger, I got…
Naftuli Kay
  • 1,708
  • 6
  • 24
  • 44
0
votes
1 answer

make everything go to https except for one url in rails, nginx, passenger

Hey, I have a rails app and I am already redirecting nearly all traffic to use https. However, there is a particular path in my app which I need accessible by plain http, say somedomain.com/special. I am wondering if this is even possible, as my…