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

Add ability to change application root? #6

Closed
figless opened this issue Nov 13, 2017 · 1 comment
Closed

Add ability to change application root? #6

figless opened this issue Nov 13, 2017 · 1 comment

Comments

@figless
Copy link

figless commented Nov 13, 2017

Hello,
I really like this project, but for our use case we require to have the app running from something other than /
For example: example.com/authentication/ssh is a reverse proxy that would forward to backend.local/authentication/ssh

Is it possible to add support to change the app to respond on a user configurable application root such as /authentication/ssh?

@thomas-pike
Copy link
Collaborator

True, there are certainly cases where it would be useful to change the application root URL. In theory it's not a difficult change to make (a modification in either requesthandler.php or router.php would make the path be handled correctly by the application), but currently there are a lot of links all throughout the application that are all hardcoded to the root path, and these will of course need fixing.

thomas-pike pushed a commit that referenced this issue May 4, 2018
Using the path component of the web.baseurl config value prepended to
all base-relative URLs within the application.

Resolves: #6
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

2 participants