Forum Discussion
hoejenry_36846
Nimbostratus
Apr 24, 2007Cached webserver header
Our website is behind a reverse proxy server so all the users are coming from one IP address.
I was told that if I setup the rule to key in on the http header: "x_http_forwarded_for", that is were the proxy server holds the clients' true IP address. I need help creating a rule so I can push a certain subnet to one pool and the others to the main pool.
Any ideas or thoughts?
- hoolio
Cirrostratus
Are you wanting to insert a custom HTTP header with the client IP address in responses before they are sent to the pool? Or are you wanting to select a pool based on the value of an HTTP header already in the client request?if (http_header("x_http_forwarded_for")) one of my_hosts_networks_class { use pool special_pool } else { use pool main_pool }
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