Forum Discussion
Aurel
Cirrus
Mar 31, 2016HTTP_REQUEST - invalid command name "1.1.1.1%1" while executing "$client_ip equals "2.2.2.2""
Hi guys, I try to do something that looks not difficult, but i'm really stucked. Any help is welcome.
I just want to check the remote client ip and push an ifile proxy.pac to him, and if not i want to push the default one.
I don't understand anything about how to post code there, with the autmatic html formating.Is it so complicated ?
14 Replies
- Josiah_39459Historic F5 Account
if {[$client_ip equals "1.1.1.1"]}should be
if {$client_ip equals "1.1.1.1"}- Josiah_39459Historic F5 Accountor equals "1.1.1.1%1" potentially in your case
- Aurel
Cirrus
Absolutely. Thank you Josiah.
- CharlesCS
Cirrus
IP address comparisons were discussed quite thoroughly in this old DevCentral post. Pay particular attention to the first comment, which discusses how to strip the route domain indicator from the test address.
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
