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
</Location>

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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/reF-n5ZOWdMJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to