Forum Discussion
AnupamG_354580
Nimbostratus
Jul 09, 2018authorization header are dropped
Hello Folks , i have two VIP configured , One for PROD and one for UAT . in UAT when i insert any authorization header it gets dropped but PROD is OK
Below are xforward configured . I want to u...
Faruk_AYDIN
Altostratus
Jul 09, 2018Hi Guy,
1. There is some problems. In UAT,HTTP::header remove X-Forward-For line may include misspelling. Correct version must be: HTTP::header remove X-Forwarded-For
2. In UAT, if X-Forwaded-For header exists, then new X-forwarded-for header is added. (In the if statement, HTTP::header insert X-Forwarded-For [IP::client_addr])
3.In UAT, and PROD if X-Forwaded-For header does not exist, then a X-forwarded-for header is added. (In the else statements, HTTP::header insert X-Forwarded-For [IP::client_addr])
4. In PROD if X-Forwaded-For header exists, then Client IP is added into the existing X-forwarded-for header . (In the if statement, HTTP::header replace X-Forwarded-For "[HTTP::header X-Forwarded-For], [IP::client_addr]")Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects