This project is archived and is in readonly mode.
routing seems broken in 2.2.2 for applications using RewriteBase
Reported by Ari Epstein | February 27th, 2009 @ 06:58 AM | in 2.x
I have an application that I recently migrated from Rails 1 to the latest 2.2.2. In the Rails 1 version I was able to serve it under an aliased subdirectory using the supplied .htaccess file. This does not seem to work since I switched to 2.2.2. Is there a different way to do this in newer rails? I haven't found any documentation.
Comments and changes to this ticket
-
Ari Epstein March 1st, 2009 @ 02:00 PM
I found the solution, to add the following to environment:
config.action_controller.relative_url_root = '/app'
-
CancelProfileIsBroken August 5th, 2009 @ 02:16 PM
- State changed from new to invalid
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>