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

Ee0293412faca21e4ebf3326ed9d5f8c?d=identicon&s=25 Kad Kerforn (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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.