Rails app deployed in sub-directory, how to force url w ending slash

I deployed my app into a sub-directory ( Rails 3.2.12 / Apache w

w the following vhost.conf :

Alias /myapp /home/myself/rails/mydomain.com/my_app/current/public
<Location /myapp >
PassengerAppRoot /home/myself/rails/mydomain.com/ my_app/current
RackEnv production
RackBaseURI /myapp

it’s running fine , going to http://www.mydomain.com/myapp/ ( w
slash )

however , and correctly ( as Apache in this case try to reach a page)
going to http://www.mydomain.com/myapp raises a routing error…

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

thanks for your feedback

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs