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

[#1772] Fix redirect to wrong domain and port behind apache #915

Merged
merged 2 commits into from Oct 7, 2015

Conversation

xael-fry
Copy link
Member

@xael-fry xael-fry commented Oct 5, 2015

r-inoguchi and others added 2 commits October 5, 2015 14:08
Behind apache reverce proxy that has ProxyPreserveHost off,
when XForwardedSupport is specified in application.conf,
the request domain and port are not changed to original domain and port.
As a result, redirect to wrong url which is created by the request domain and port.

To fix the problem, XForwardedOverwriteDomainAndPort option is added.
When "XForwardedOverwriteDomainAndPort=on" is set in application.conf,
the request domain and port are changed to original domain and port.
* [#1772] fix(Http): Add documentation for "XForwardedOverwriteDomainAndPort"
@xael-fry xael-fry changed the title [#1772] apache redirect [#1772] Fix redirect to wrong domain and port behind apache Oct 5, 2015
xael-fry added a commit that referenced this pull request Oct 7, 2015
[#1772] Fix redirect to wrong domain and port behind apache
@xael-fry xael-fry merged commit 926e121 into playframework:1.4.x Oct 7, 2015
@xael-fry xael-fry deleted the 1772_apacheRedirect branch October 7, 2015 00:44
@xael-fry
Copy link
Member Author

xael-fry commented Oct 7, 2015

Merged and pushed in master, 1.3.x and 1.4.x
Thanks

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

Successfully merging this pull request may close these issues.

None yet

1 participant