Skip to content

Make clear that rack-rewrite uses only PATH_INFO, not SCRIPT_NAME #61

Open
@ameuret

Description

@ameuret

Apache, Unicorn, nGinX, Webrick, Mongrel2 AND the myriad of Rack adapters don't really agree on the way the request URI should be split and which ENV variable drives it. It leads to much frustration as rules seem to stop working when switching web servers or adapters (read dev vs. prod).

A simple "Heads up!" in the README pointing to these issues (and the involvement of RACK_RELATIVE_URL_ROOT or RAILS_RELATIVE_URL_ROOT) will help a lot of people dealing with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions