Dave_20275
Nov 21, 2007Nimbostratus
Config Sync issues surrounding iRule
HELP
I come form a Nortel/Alteon background and am very new to the use of iRules and am experiencing some issue when using a canned 404 file not found handler from the Devcentral iRule code share
We are currently running LTM6400's on BIG-IP 9.4.2 Build 228.19 Final
The iRULE:
File Not Found Handler
when RULE_INIT {
set error_404 {
404 Not Found
iR ul es Ru le
[HTTP::status] Error
Not Found
The requested URL
$HTTP_URI
was not found on this server.
}
}
when HTTP_REQUEST {
set HTTP_URI [HTTP::uri]
}
when HTTP_RESPONSE {
if { [HTTP::status] == 404 } {
HTTP::respond 404 content [subst $::error_404]
}
}
The Issue
When load this irule onto my active BIGIP and attempt to sync the configs everything appears to sysnc however the iRULE dose not sync. This is effecting more than just the irul as any new node, pool, or virtual server that I add will not sync either. If I remove the code from the irule or delete the irule alltogether everything syncs just fine. I have used F5's iRULE validate the code and it says that all is fine.....
Please Help
Thanks
Dave