Forum Discussion
hooleylist
Mar 30, 2012Cirrostratus
Which version are you testing on? There have been some iRule parsing issues fixed in recent versions.
In the meantime, can you try to encode the HTML content so the iRule parser doesn't get hung up?
URL encode the HTML content: http://www.opinionatedgeek.com/dotnet/tools/urlencode/Encode.aspx
save the URL encoded content to a static variable (for 10.0 or higher) or a local variable:
set static::html [URI::decode "%3chtml%3e%3cstyle%20type%3d%22text%2fcss%22%3e...%3c%2fhtml%3e"]
and then modify the HTTP::respond command to reference the URI decoded HTML:
HTTP::respond 200 content $static::html
Aaron