Created
October 22, 2014 13:58
-
-
Save aniketbhatnagar/3c6c9bc7d748f8e33f37 to your computer and use it in GitHub Desktop.
Proxy pass CDH 5 manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you attempt to proxy pass CDH 5 Manager using apache, you may run into following error: | |
2014-06-29 08:43:02,977 WARN [600353515@scm-web-6:csrf.CsrfRefererInterceptor@68] Rejecting request originating from x.x.x.x for http://x.x.x.x:7180/cmf/parcel/validate with referrer blah | |
To resolve the issue, just set ProxyPreserveHost to On. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I met with the same problem and here's what I found:
I changed the HTTP header
host
andreferer
to CapitalizedHost
andReferer
and everything works.According to HTTP protocol, HTTP header keys should be case-insensitive, but Cloudera don't think so