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 ...

learn more… | top users | synonyms (1)

0
votes
1answer
114 views

Can we configure HTTP response code headers?

We're stumped. We're getting a new header in our Apache httpd + Passenger web server we didn't expect. We have a sensitive web client reading this we cannot modify at this time. Can we modify this ...
3
votes
1answer
3k views

Rails Passenger Nginx cannot load such file — bundler

I have set up Rails, Passenger, nginx, and PostgreSQL on Ubuntu Server 12.04LTS. Upon trying to access the application/website, however, I am greeted with an error page saying that the application ...
0
votes
1answer
310 views

Multiple Rails/Rack apps Nginx one for each subdomain

I just hired a VPS with Ubuntu 12.10 x64. I've managed to get one Rails app running with passenger-nginx. Now I want to run another app as a subdomain, say for example admin.mydomain.com. How can I do ...
1
vote
1answer
310 views

Running roundcube alongside passenger on nginx

I have recently tried to install passenger on nginx. The installation works and everything is good. However I would like to run roundcube webmail on my server as well. Basically my problem is that ...
1
vote
1answer
590 views

Error installing nginx with Passenger on Ubuntu 12.10 for Ruby 2.0.0 [closed]

I am attempting to install nginx to run a Rails site (3.2.13) with Passenger (4.0.0.rc5) on Ruby 2.0.0-p0 via RVM. I have successfully installed the Passenger gem, but when running: rvmsudo ...
0
votes
1answer
485 views

Getting Redmine integrated with svn while running passenger as user www-data

I'm having some problems getting passenger and svn to work in Redmine. System Ubuntu 12.04 Apache 2.2.22 PassengerRuby 1.9.1 Passenger 3.0.19 Problem When I let Passenger do it's normal user ...
0
votes
1answer
314 views

Pass on passenger_base_uri to Rails app

We built a Rails app that consists of the following routes: namespace :api do namespace :v1 do resources ... end end That means, all controllers are reachable via ...
0
votes
1answer
176 views

Duplicate requests with different IPs from client causing duplicate actions in Ruby on Rails 3.2 controller

I have been trying to figure this issue out for a while re-checking my code and searching on the internet, I found some possible answers if the cause was something else but nothing exactly like I have ...
0
votes
1answer
668 views

No data received - Passenger, (52) Empty reply from server

I had setup Elastic Beanstalk for my rails application last month (Passenger). All was good.. but all of a sudden, my servers are not responding well. My application access gives 'No data received - ...
1
vote
1answer
331 views

How can I make apache use PHP over passenger by default?

Here's my setup: I have an apache server running a number of virtual hosts, each of them using PHP. I now have a rails app I want to install to a subdirectory for one of the sites (a subdomain would ...
1
vote
1answer
324 views

Sporatic 502 errors with Ruby on Rails site running on Nginx

My Ruby on Rails site is throwing sporadic 502 errors. It is running on Nginx, installed with Passenger, and is hosted on a server running Ubuntu 10.04. It seems that the errors are becoming more and ...
1
vote
0answers
515 views

Problems with apache2 and SSL not load files CSS and JS

I have an application in Ruby on Rails 3.2.8, and I'm using passenger-Nginx as Web Server on port 3037 with Apache2 and SSL using ProxyPass and ProxyPassReverse. My problem is, when load in chrome or ...
0
votes
1answer
200 views

have redmine running on apache2 with passenger

I am trying to have redmine running on my Ubuntu 12.04 / Apache/2.2.22 server. I am following this documentation which worked just fine on my laptop, but can't get it to work on my aws webserver. I'm ...
0
votes
0answers
141 views

mod_ssl and apache cipher suite client connections

Just starting out with managing an Apache server. Running into some issues while trying to integrate with a vendor API. I've verified all of the basic infrastructure issues (DNS, TCP ports, etc.) and ...
1
vote
0answers
286 views

Issue serving static contents securely via nginx X-Accel and rails send_file

I am trying to serve static contents via nginx & rails using X-Accel-Redirect. My actual static content directort located at rails root folder like this rails_root\books. This is my nginx config ...
1
vote
0answers
313 views

URL Rewriting and Rack base paths

I'm trying to set up a Rails website on Bluehost and I'm having trouble with the path helpers. As I don't want to monkey-patch Rails, I'm trying to solve this through .htaccess. Here's the scenario: ...
0
votes
1answer
366 views

mod-redmine && mod-passenger: Passenger refuses to load (here: Redmine) after rewrite uri. Where to put RailsBaseURI?

i've a working Redmine-instance at /var/lib/redmine. (Redmine configuration is not the issue) ln -s /var/lib/redmine/public /var/www/redmine chown -R www-data:www-data /var/www/redmine echo ...
0
votes
1answer
191 views

Cannot Start Passenger 3.0.18 Using Mountain Lion (OS X Server) and RVM

I recently did a clean install of Mountain Lion on my Mac Mini Server. I installed version 3.0.18 using a gem according to the directions on http://www.phusionpassenger.com with no errors that I ...
0
votes
1answer
49 views

Passenger nginx install doesn't come with a service to restart nginx?

How do you restart nginx on a Ubuntu passenger-nginx install? I installed passenger, and then it automatically installed nginx. However there's no command to restart nginx anywhere. I tried service ...
0
votes
1answer
125 views

How to investigate requests per second that are coming in?

If I have a server that is running Nginx + Passenger (mod_rails) how would I figure out how many requests a second are coming in?
3
votes
1answer
245 views

Installation issues with Passenger with Apache on OS X 10.8

I'm trying to get Passenger working on Mountain Lion after the upgrade from 10.7, but I'm having issues when running passenger-install-apache2-module: g++ ext/apache2/HelperAgent.cpp -o ...
-1
votes
1answer
798 views

How can I configure apache to respond 400 when request contains an invalid byte sequence?

On web application someone is making invalid HTTP request containing invalid bytes. According to RFC 3986, section 2 only ASCII characters are allowed in the HTTP Request line. However I am receiving ...
1
vote
2answers
6k views

passenger-status - ERROR: Phusion Passenger doesn't seem to be running

My server is: Server version: Apache/2.2.11 (Ubuntu) Server built: Aug 16 2010 17:44:11 My ruby version ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]. I've installed passenger 3.0.7 ...
-1
votes
2answers
622 views

What do you use to Monitor Server CPU spikes / processes

Sometimes, My apache/Passenger Rails server just spikes to 100% CPU usage and stops working. I need a way to monitor what process spikes it to 100% usage ?. What tools can i use to monitor such things ...
1
vote
2answers
244 views

Site available on internal network, but not from external networks

I've got a ruby on rails application running on apache2 with phusion-passenger. The application works flawlessly on the local trusted network, but I can't access it on our wireless (untrusted) or any ...
0
votes
1answer
579 views

Installed Redmine, now phpmyadmin results in “Cannot start Ruby on Rails application”

I recently installed Redmine on an Ubuntu 12.04 + Apache server, and it is working fine. However, my phpmyadmin site is giving me a bizarre error when I go to https://phpmyadmin.example.com: Here ...
1
vote
1answer
1k views

Mod_rails slow boot

I'm completely new in Rails and I'm facing this problem: My application runs fine on my development machine when I use script/server (called webrick I guess) The problem is when I put the ...
1
vote
3answers
376 views

What are the benefits of running a app server in user space, like Unicorn, as opposed to as sudo?

I've been using Phusion Passenger + Rails/Sinatra for a lot of projects. Passenger runs under the main Nginx or Apache process. But I'm interested in Unicorn, partly because it runs in user space. ...
0
votes
2answers
422 views

Install passenger with yum-installed nginx

Is it possible to install passenger into nginx that has been installed previously using yum? I need to provide a directory prefix for the install-nginx-module, just wondering where that would be on ...
0
votes
1answer
120 views

Start Redmine automatically

I use Redmine with Passenger, RVM and Linux. To start Redmine I use next commands: su redmine cd /www/public/redmine rvmsudo passenger start -p 85 -d --user=pass What is the best way to start it ...
0
votes
1answer
101 views

Passenger Enterprise edition - “Mass Deployment” clarification

We're thinking about purchasing a license for Passenger Enterprise, and I'm looking for a better explanation about the "Mass Deployment" feature in Passenger Enterprise Edition. Say you have Rails 3 ...
0
votes
3answers
1k views

Capistrano + Nginx + Passenger = 403

I asked this over at stackoverflow as well, but still haven't received any answers that have helped me to solve this problem. I have spent almost a week at this point trying to solve the issue, and ...
2
votes
0answers
281 views

Passenger on apache hangs taking up all application processes with very high CPU IO Wait

I'm running a set of rails apps on a server under Apache/Passenger. One of the apps keeps getting into a state where the load on the machine gets very high and the machine becomes unresponsive with ...
3
votes
1answer
298 views

passenger and apache memory usage

On a "CentOS release 6.2 (Final)" server (with Ruby 1.9.3 and Rails 3.2), and using more memory than expected. Looking at passenger-memory-stats I see a couple of HUGE httpd processes... any thoughts ...
3
votes
1answer
150 views

Application specific environment on the same server in Nginx/Passenger

I have two Rails applications (say app1 and app2) deployed using Nginx/Passenger. The server definition in nginx.conf looks like this: server { rails_env demo; client_max_body_size ...
1
vote
4answers
83 views

is it possible to have two web servers hosted at different places share the same domain name?

say I have a wordpress site: https://www.foobar.com and I want to have an entry point to a rails app at a certain subdirectory within that same domain: https://www.foobar.com/rails_app I know this ...
2
votes
0answers
242 views

Phusion Passenger setting PassengerPreStart does not activate using service httpd start

I'm running Phusion Passenger on RHEL, hosting a Rails application. I can successfully start up a passenger instance on Apache startup using the Passenger setting PassengerPreStart, but only if I ...
1
vote
1answer
219 views

Relative path incorrect in the view layer when hosting a rails3 app in a subdirectory using passenger and apache

I want to host multiple Rails apps on a multiple server using sub-directories. And have encountered some relative path problems. I have made a symbolic link to the app's public directory and placed ...
1
vote
2answers
758 views

Can't install nginx with passenger after ubuntu server 12.04 upgrade

I'm trying to install nginx with passenger support on 12.04 I've used the brightbox repo before but that doesn't work now. I've also tried ppa:nginx/stable but when I try to run sudo apt-get install ...
2
votes
1answer
1k views

Puppet master fails to run under nginx+passenger configuration as rack app, works when run as system service

I get the error [anadi@bangda ~]# tail -f /var/log/nginx/error.log [ pid=19741 thr=23597654217140 file=utils.rb:176 time=2012-09-17 12:52:43.307 ]: *** Exception LoadError in ...
2
votes
1answer
578 views

Apache2 graceful restart stops proxying requests to passenger

Issue with apache mod proxy, it stops proxying requests after a graceful restart but not all the time. It seems to happen only on a Sunday when a graceful restart is triggered by logrotate. [Sun ...
1
vote
3answers
3k views

I Can't Get Ruby on Rails + Passenger + Apache to Work

I'm sorry if this is a stupid question, but I can't get Ruby on Rails to work on my Apache server. I'm using Phusion Passenger (mod_rails, mod_rack) for app deployment. Here is my RoR-specific ...
1
vote
1answer
2k views

403 Forbidden

Here is my Nginx config: user pass users; worker_processes 1; events { worker_connections 1024; } http { passenger_root /usr/lib64/ruby/gems/1.8/gems/passenger-3.0.7; passenger_ruby ...
1
vote
1answer
172 views

Rails showing files list and not running app

I followed this tutorial: http://railsapps.github.com/tutorial-rails-mongoid-devise.html Running nginx via proxy on port 8000. You can see it here. Why is it listing the files in the /public dir? ...
0
votes
1answer
227 views

Problems getting Squirrelmail and passenger working on apache

I'm trying to have a setup where I want to run a squirrelmail and Passenger on the same apache server, having a url point to squirrelmail and everything else handled by passenger. I've gotten so far ...
0
votes
5answers
2k views

Multiple rack apps on nginx + passenger, one as root, the other not…config

So I've got two apps I want to run on a server. One app I would like to be the "default" app--that is, all URLs should be sent this app by default, except for a certain path, lets call it /foo: ...
0
votes
1answer
162 views

Passenger, Apache and avoiding page caching

I'm hosting a rack application with passenger and apache. The application is setup to cache the content of each request to the public directory after each request. This allows apache to serve the ...
0
votes
1answer
421 views

nginx and many racks

I want to deploy a ror3 application using nginx/passenger/rack on webfaction. Out of some reason uncached (or out of another reason, I am just guessing) requests to that site spawn multiple rack ...
0
votes
1answer
640 views

Rack Error with DreamHost, Passenger, and Rails 3.0.0.rc

Background: I have viewed this question as well as this one - sadly, to no avail. Error Message (Passenger): You have already activated rack 1.1.0, but your Gemfile requires rack 1.2.1. Consider ...
1
vote
1answer
701 views

Apache/Passenger: not following PassengerMaxPoolSize/PassengerMaxInstancesPerApp?

If I'm correct when I think that a line of 30193 ramon 16 0 170M 119M 3628 S 0.0 11.6 0:08.47 Rack: /var/www/salcedoauctions/current in htop means that there's one spawn of the ...