Forum Discussion
Saskia_81056
Nimbostratus
May 23, 2013http::respond in HTTP_RESPONSE
Hey guys,
i'm currently trying to write a iRule which spits out a HTML site for redirection purposes.
For this I have a HTTP_REQUEST in which I set a varible. In the HTTP_RESPONSE i check i...
nitass
Employee
May 23, 2013does curl work?
[root@ve10:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.19.252:80
ip protocol 6
rules myrule
profiles {
http {}
tcp {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_RESPONSE {
log local0. "Test"
HTTP::respond 200 content "bla\r\n"
}
}
[root@ve10:Active] config curl -i http://172.28.19.252
HTTP/1.0 200 OK
Server: BigIP
Connection: Keep-Alive
Content-Length: 5
bla
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