Forum Discussion
karthik_sriniva
Nimbostratus
Oct 28, 2005Stream Profile: Replace String
Hi Guys,
I had configured a virtual server for our secure site. The content is legacy code and it has hardcoded urls for http. Currently I am using stream profile to replace all the http:...
hoolio
Cirrostratus
Nov 06, 2009Hi Colin,
HTTP::host is an allowed command in HTTP_RESPONSE per the wiki, and the iRule validation allows it, but on 10.0.1 it doesn't seem to work:
when HTTP_REQUEST {
log local0. "[IP::client_addr]:[TCP::client_port]: New [HTTP::method] request to [HTTP::host][HTTP::uri]"
}
when HTTP_RESPONSE {
log local0. "[IP::client_addr]:[TCP::client_port]: [HTTP::status] response ([HTTP::host])"
}
: 172.31.42.11:2467: New GET request to 10.42.15.20:8080/
: 172.31.42.11:2467: 200 response ()
So I was suggesting that Hamish save the HTTP::host value from HTTP_REQUEST and reference the variable in HTTP_RESPONSE.
Aaron
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
