Forum Discussion
victor_romero_1
Nimbostratus
Feb 03, 2011illegal argument using HTTP::respond
Hi,
Our application servers return a 200 OK message even if it should be a 404 or 500 error code, so we want to capture that using an iRule and return the right error code depending on the m...
victor_romero_1
Nimbostratus
Feb 10, 2011Hi,
Thanks for your comments. Much appreciated.
The issue was with the if statement.
I've fixed it taking out the [HTTP::payload] from the if statement and creating a new variable that I've used in the if statement, see below:
...
set payload [HTTP::payload]
if { $payload contains $page_not_found } {
...
Victor
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
