Forum: Ruby on Rails rails app deployed in sub-directory, how to force url w ending slash

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
465a674b0471ff8c76ae7597c94b075d?d=identicon&s=25 Kad K. (kadoudal)
on 2013-03-19 05:59
(Received via mailing list)
I deployed my app into a sub-directory  ( Rails 3.2.12 / Apache w

w the following vhost.conf :

Alias /myapp /home/myself/rails/
<Location /myapp >
  PassengerAppRoot /home/myself/rails/ my_app/current
  RackEnv production
  RackBaseURI /myapp

it's running fine , going to     ( w
slash )

however , and correctly ( as Apache in this case try to reach a page)
going to  raises a routing error..

should I redirect  to  http://www.   ?
or is there a better way not to raise the routing error for faulty users

thanks for your feedback
This topic is locked and can not be replied to.