Forum Discussion
Eric_Chen
Employee
Jan 07, 2016Making the Raspberry Pi Fast, Secure, and Available
For the holidays I picked up a Raspberry Pi (RPi) Zero, a $5 linux computer that runs roughly as fast as a computer from 5-10 years ago. I decided that the RPi would be a good candidate as a test ser...
Eric_Chen
Employee
Joined May 16, 2013
Eric_Chen
Employee
Joined May 16, 2013
May 11, 2007
The request part is easy, when you say "location from the response header" what exactly do you mean by that? Do you mean the HTTP "Location" header that is returned on a 301 or 302 redirect?
Here's the code the request and response (if a Location header is returned from the server).
when HTTP_REQUEST {
log local0. "Domain: [HTTP::host]"
log local0. "URI: [HTTP::uri]"
}
when HTTP_RESPONSE {
if { [HTTP::header exists "Location"] } {
log local0. "Location: [HTTP::header Location]"
}
}
Hope this helps...
-Joe
Recent 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