Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Proxy pass CDH 5 manager
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.

This comment has been minimized.

Copy link

scaret commented Jul 26, 2017

I met with the same problem and here's what I found:

I changed the HTTP header host and referer to Capitalized Host and Referer and everything works.

According to HTTP protocol, HTTP header keys should be case-insensitive, but Cloudera don't think so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.