Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

routing seems broken in 2.2.2 for applications using RewriteBase

#2092

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.

Reported by Ari Epstein · February 27th, 2009 @ 06:58 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Ari Epstein
    Ari Epstein

    I found the solution, to add the following to environment:

    config.action_controller.relative_url_root = '/app'

    March 1st, 2009 @ 02:00 PM

  2. CancelProfileIsBroken
    CancelProfileIsBroken
    • State changed from new to invalid

    August 5th, 2009 @ 02:16 PM