Forum Discussion
keith_varga_107
Nimbostratus
Jun 07, 2012irule for http vs https requests
DevCentral Team,
Here is our current irule:
when HTTP_REQUEST {
HTTP::header insert "X_CLIENT_IP" [IP::client_addr]
HTTP::header insert "X-Forwarded-For" [IP...
hoolio
Cirrostratus
Jun 08, 2012I'd use separate iRules for the two virtual servers and change both to a switch as in the example above. You could use one combined iRule and check [TCP::local_port] to see if it is being executed on port 80 or port 443, but I think it's cleaner to use two separate rules.
Aaron
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