Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ameuret opened this issue Jul 18, 2014 · 0 comments
Open

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

ameuret opened this issue Jul 18, 2014 · 0 comments

Comments

@ameuret
Copy link

ameuret commented Jul 18, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant