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

Feature: Support Rack apps mounted within other Rack apps #12

Open
ghost opened this issue Sep 29, 2012 · 1 comment
Open

Feature: Support Rack apps mounted within other Rack apps #12

ghost opened this issue Sep 29, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 29, 2012

Hi, please consider the situation when you are building Sinatra based app which will be later mounted on some sub-uri, the usual case "/admin". The requests for necessary files will end up in totaly wrong rack app. I think this could be easily solved by analyzing request.script_name as Sinatra does.

@pboling
Copy link
Owner

pboling commented Oct 3, 2012

Great idea! I had not considered running it in a mounted rack app.

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

No branches or pull requests

1 participant