Forum Discussion

Eric_27403's avatar
Eric_27403
Icon for Nimbostratus rankNimbostratus
Apr 05, 2013

iRule header insert stopped working on 11.3

This was working in 10.2.4 and the last part (header insert) stopped marking the "F" when going to the pool "POOL-Alphav5FILE-443" its just marking everything as A even thought files are going to the correct pools.

 

 

 

Thanks for any help. Would hate to roll back versions:

 

 

 

when HTTP_RESPONSE {

 

if { [LB::server pool] equals "POOL-Alphav5FILE-443" } {

 

log local0. "Marking header with insert F"

 

HTTP::header insert JST "F"

 

} else {

 

log local0. "Marking header with insert A"

 

HTTP::header insert JST "A"

 

}

 

 

}

 

4 Replies

  • I tried to paste the whole iRule but I keep getting a transaction error?? I'm new to this whole F5 iRule thing
  • have you seen "Marking header with insert F" in /var/log/ltm?

    if not, can you try to add partition name (e.g. /Common/) in the irule?

     if { [LB::server pool] equals "/Common/POOL-Alphav5FILE-443" } {
    
  • Posted By nitass on 04/06/2013 09:19 PM

    have you seen "Marking header with insert F" in /var/log/ltm?

    if not, can you try to add partition name (e.g. /Common/) in the irule?

     if { [LB::server pool] equals "/Common/POOL-Alphav5FILE-443" } { 

    no I only see "Marking header with insert A"

    I'll try your idea.

  • YES! that solved the issue.. so in 11 we have to add the /common/ now i guess.. thanks for your help!!