Forum Discussion
Heinen_Markus
Nimbostratus
Aug 01, 2011iRule and Firefox Problems
Hi
i have a problem with this irule and Firefox Browser with IE it works good
Spezial this part don´t work
"/appserver/*" {
pool DMZ-APP
persist cookie insert APPLSID $APPZeit
log local0. "APPL Client: [IP::remote_addr] VIP: [IP::local_addr] [LB::server]"}
Can someon help me please ?
----
the complett rule are
when HTTP_REQUEST {
set path [string tolower [HTTP::path]]
set APPZeit 7200
switch -glob $path {
"/basicgate/appserver/ws/rubin*" {
pool DMZ-Rubin-APP
persist cookie insert APPLSID $APPZeit}
"/appserver/ws/rubin*" {
pool DMZ-Rubin-APP
persist cookie insert APPLSID $APPZeit
log local0. "Rubin: [IP::remote_addr]"}
"/appserver/ws*" {
pool DMZ-LO-APP
persist cookie insert APPLSID $APPZeit}
"/basicgate/appserver/ws*" {
pool DMZ-LO-APP
persist cookie insert APPLSID $APPZeit}
"/basicgate/appserver*" {
pool DMZ-APP
persist cookie insert APPLSID $APPZeit}
"/appserver/*" {
pool DMZ-APP
persist cookie insert APPLSID $APPZeit
log local0. "APPL Client: [IP::remote_addr] VIP: [IP::local_addr] [LB::server]"}
"/aspnet_client*" {
pool DMZ-APP
persist cookie insert APPLSID $APPZeit}
default { pool DMZ-CMS
persist cookie insert CMSSID 3600}
}
}
3 Replies
- The_Bhattman
Nimbostratus
Hi Heinen,
What about that piece of code that doesn't work? However, I do find [LB::server] a tad suspicious.
Bhattman - Ed_Hammond_2611
Nimbostratus
[LB::server] is not useful/valid in the HTTP_REQUEST event since the server pool member selection logic has not yet executed in the event sequence. Not sure what you are trying to obtain by using it. Try removing it. You can also look at the /var/log/ltm log for possible Tcl run time errors. - hoolio
Cirrostratus
LB::server should just log the most recently selected pool name:
http://devcentral.f5.com/wiki/iRules.lb__server.ashx
LB::server returns a Tcl list with pool, node addr and port. If no server was selected yet or all servers are down, returns default pool name only.
Heinen, what actually breaks when you test with Firefox? Can you use HttpFox or Fiddler to record the session and see more exactly what's failing?
Do you have a OneConnect profile enabled on the virtual server? This is necessary for evaluating each HTTP request on a keepalive connection. See this article for details:
http://devcentral.f5.com/wiki/AdvDesignConfig.ONECONNECT.ashx
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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