Forum Discussion
Erich_Rockman_1
Cirrus
Dec 10, 2015Check Authorization / WWW-Authenticate headers
Hi. I am trying to make sure that the user what is trying to/has authenticated to a site w/ Basic Auth matches a user in a list. However, I cannot force the server to prompt if the user/pass is not a...
The_Bhattman
Nimbostratus
Jul 29, 2011HI Richard,
If you are doing this under OWA or some web mail, then you can use the stream profile, provided that there is no encryption OR SSL is terminated on the F5 that this rule is going to process on.
Thanks,
Bhattman
The HTTP::header page says about
the following:HTTP::header replace []
 
Replaces the value of the last occurrence of the header named with the string . This command performs a header insertion if the header was not present. If there are multiple instances of the header, only the last instance is replaced.
 
 
Just wondering, wouldn't it be safer to remove all existing instances of
first, and then insert our own? That would make sure there's really only one instance ofX-Forwarded-For
passed to the back-end web application:X-Forwarded-For
 
when HTTP_REQUEST { HTTP::header remove X-Forwarded-For HTTP::header insert X-Forwarded-For [IP::client_addr] }
- ooo_226278May 17, 2017
Nimbostratus
Thank you for a clean solution!
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