Passenger rail URL prefix not causing route matches

I have a Rails application that is being embedded inside a folder called convergence. My Phusion Passenger is set up to serve PassengerBaseURI

up /convergeops

.

80% of the time, everything works fine, but from time to time I get an error No route matches

like below:

enter image description here

httpd.conf file

DocumentRoot "/var/www/html/convergeops/public"

<Directory "/var/www/html/convergeops">
  RailsEnv production
  PassengerBaseURI /convergeops
  PassengerAppRoot /var/www/html/convergeops
  SetEnv RAILS_RELATIVE_URL_ROOT /convergeops
  PassengerFriendlyErrorPages on
  AllowOverride all
  Allow from all
  Options -MultiViews
  Require all granted
</Directory>

      

Any idea why I can get this routing error?

+3
ruby-on-rails apache passenger httpd.conf


source to share


No one has answered this question yet

Check out similar questions:

1023
How do I get the current absolute url in Ruby on Rails?
nineteen
Rails Passenger issue with Apache2
five
Can my / public directory be a symbolic link with rails 3 + passenger 3 + nginx 0.8?
4
403 denied access with rails / apache / passenger
2
apache shows the contents of my public dir-rails + apache + passenger + local git + capistrano + ubuntu
2
No such file or directory - config / environment.rb phusion passenger apache centos 6.3 rails
1
How to activate Rails with Passenger and Apache for CentOs
1
Rails 3.1 with invalid passenger path
0
Freebsd 10.1 / Ruby on Rails / Apache 2.4 / Phusion Passenger: client abandoned server config
0
www-http solution for passenger Rails app



All Articles
Loading...
X
Show
Funny
Dev
Pics