Forum Discussion
Matt_Mueller_10
Nimbostratus
Dec 22, 2004Help with removing certain header information from URI
Hello,
We're in the initial setup phase, and are having problems with our iRule. This is what we have so far....
Basically, the customer opens a weblink, lets say www.customerce...
Matt_Mueller_10
Nimbostratus
Dec 27, 2004
when HTTP_REQUEST {
if {[HTTP::uri] contains "/customer1"} {
pool Customer114.i
} elseif {[HTTP::uri] contains "/customer2"} {
pool Customer214.i
} else {
pool Defaulthomepage
return
}
if {[HTTP::uri] starts_with "/webcentral"} {
HTTP::uri "/archibus"
}
log local0.info
}
Please note the rule as I currently have it configured, also the log line. Is that correct? I tried placing the log line outside of the when HTTP_REQUEST brackets, but it said invalid command.
I apologize, but I have no idea where you mean by the following location, can I get to this in the web gui?
"Please note that these messages end up as entries in /var/log/ltm or as specified by /etc/syslog.conf."
Again to explain our setup, the customer would type in http://192.168.150.225/webcentral/customer1
Based on the iRule, the BIGIP would turn around and go to this address:
http://192.168.150.214/archibus
thanks for your help
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