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:
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
source to share
No one has answered this question yet
Check out similar questions: