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/

480 questions
0
votes
5 answers

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: http://mydomain.com/ ->…
None
0
votes
2 answers

Passenger: mod_rewrite rules for non-default page cache directory for Rails application

Does anybody have some working Apache mod_rewrite rules that enable Phusion Passenger (mod_rails) to use a non-default location for the page cache within a Rails application? I'd like the cached files to go in /public/cache rather than the default…
John Topley
  • 2,045
  • 3
  • 16
  • 17
0
votes
2 answers

Ubuntu Slow Server Response; Initial Load; RoR

I have a rails app sitting on an Ubuntu 9.10 server located here: http://sandbox.incolo.com If you hit it initially, it takes about 4 seconds to do its initial load. Once the load has happened the server response nearly instantly. Any thoughts as…
Justin
0
votes
1 answer

migrate, upgrade (redmine, passenger, os, ruby) from (4.1.1, 5.3, 18.04, 2.6.6) to (5.0.1, 6.0.14, 20.04, 3.0.4)

I need to upgrade a number of things: os (ubuntu) 18.04 => 20.04 ruby: 2.6.6 => 3.0.4 passenger: 5.3 => 6.0.14 redmine: 4.1.1 => 5.0.1 The one thing I can keep constant, at least for the migration, is the db, mysql 5.7 I've brought…
0
votes
0 answers

phusion passenger fails attempting to start redmine with wrong ruby version

Running apache on ubuntu-20, using chruby with ruby 2.6.6 and 3.0.4 installed. At present, the site starts phusion passenger as follows in the site.conf file: LoadModule passenger_module…
0
votes
0 answers

Restart Nginx with Ruby on Rails

I made a website that does some complex processes with selenium. For this reason, I feel that the server is very slow after processing. Because when I restart Nginx, the slowness problem disappears. My question is: How can I restart the Nginx using…
0
votes
1 answer

Passenger Apache - Forbidden You don't have permission to access this resource

I'm stuck with Apache with Passenger configuration. I spent a few days looking for a solution. I follow this instructions. I'm getting this message in the browser: Forbidden You don't have permission to access this resource. httpd.conf # Use…
neuroine
  • 1
  • 3
0
votes
1 answer

Trying to run passenger-status on a working rails apache-passenger server

I have an apache/passenger server that run rails apps, and this error is displayed when I try to run passenger-status : passenger-status ERROR: Phusion Passenger(R) doesn't seem to be running. If you are sure that it is running, then the causes of…
Sylario
  • 101
  • 1
  • 11
0
votes
1 answer

Passenger not running (Ruby on Rails + Nginx)

My AWS instance was working fine with my app. But, today, the server was down without memory ram. Then I run: sync; echo 1 > /proc/sys/vm/drop_caches sudo service nginx start After that, ram memory consumption is ok, but the app not. I'm running a…
Diego Somar
  • 101
  • 3
0
votes
2 answers

Apache Canonical Rewrite with Passenger (mod_rails)

I have a rails app served via Passenger (mod_rails) that I want to have a canonical URL. I want all requests to go to http://mydomain.com (so, rewrite http://www.mydomain.com to http://mydomain.com). On my other non-Rails apps, I accomplish this…
neezer
  • 790
  • 3
  • 10
  • 28
0
votes
1 answer

Get rid of content ripping bots in a Rails 4 app served by Nginx using Passenger on Ubuntu 16.04

Our rails app is being inundated with requests from bots that are trolling using IP addresses. Every request results in an exception notification error message. Our original Nginx server block: server { server_name example.com www.example.com…
Jay
  • 191
  • 2
  • 11
0
votes
1 answer

How do I access site.project.rails (running on host) from VMWare fusion?

I have a rails app setup and running on my snow leopard MacBook - the app is being served by Passenger. As part of the setup they had me add entries for 127.0.0.1 site.project.rails in my hosts file so I could reach the site from…
Johnny Mnemonic
0
votes
1 answer

Apache to serve multiple ruby on rails applications from the same domain

I want to serve multiple different ruby on rails applications using Apache and Passenger via a single domain. The applications all should use the same certificate and I want to deliver the apps using HTTPS as default. # single…
0
votes
1 answer

How do you set PassengerFriendlyErrorPages in .htaccess?

I have a working server setup with Apache running with Phusion Passenger. Because the friendly error page turned off by default (good for production apps), it's hard to spot the error when it's happen. I want to enable PassengerFriendlyErrorPages…
willnode
  • 126
  • 4
0
votes
1 answer

ubuntu 18.04, passenger ERROR: Phusion Passenger doesn't seem to be running

We just installed a new box with Ubuntu 18.04 with passenger and everything run fines, the site is up, but when we do passenger-status we get ERROR: Phusion Passenger doesn't seem to be running. If you are sure that it is running, then the causes…
user1130176
  • 173
  • 10
1 2 3
31
32