Forum Discussion
Brad_53264
Nimbostratus
Nov 03, 2008Web Analytics iRule Style
I am attempting to implement Joe's Urchin solution described here http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=174
The iRule described on the above link is...
hoolio
Cirrostratus
Nov 04, 2008That issue is fixed in 9.4.5 so upgrading should resolve the issue. As there have been a lot of significant issues fixed in 9.4.5HF2, it would be good to upgrade regardless of this issue.
I'm not sure why the server is responding with no content length header though if you're forcing HTTP 1.0. I thought the only time a server would use no content length header was if the HTTP version was 1.1 and the encoding was chunked.
You could insert the HTML using a stream profile and STREAM::expression iRule. It would probably be more efficient than buffering the response payload using HTTP::collect.
You could look for in the STREAM::expression and then replace the matched string with plus the HTML for the urchin. However, I'm not sure whether you would be able to only do the insertion if the "urchinTracker()" string isn't already present.
Take a look at the STREAM::expression (Click here) and STREAM_MATCHED (Click here) wiki pages for some examples to see if this could work for your scenario.
Aaron
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
