Forum Discussion
Jeffrey_Silver1
Nimbostratus
Feb 26, 2014iRule content show up in one line
When I create an iRule from a powershell script that includes HTTP content, the irule gets created, however, the HTTP is not delimited in the rule when you look at. Its all on one line. Is there an...
Jeffrey_Silver1
Nimbostratus
Feb 28, 2014Patrik, thanks for you help. You got me pointed in the right direction. What I had to do was to read the HTML file in line by line, and append those lines to an array followed by the [char]13. With the array filled, I used the array name as input to the rule_definition string. Works like a charm.
Mar 01, 2014
Actually you don't need to add [char]13. Seems like the commandlet takes care of that for you as long as you give it a proper string.
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