I deployed my app into a sub-directory ( Rails 3.2.12 / Apache w
Passenger
)
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
ending
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