Forum Discussion
Chris_Miller
Jul 19, 2010Altostratus
Here's a good page:
http://devcentral.f5.com/wiki/default.aspx/iRules.CodeShare
Also - here's a good wiki for [HTTP::host] http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__host.html The wikis here are great - get used to em!
This is a pretty easy host direct iRule.
when HTTP_REQUEST {
if { [HTTP::host] eq "www.school.edu" } {
HTTP::redirect "http://webarchive.school.edu[HTTP::uri]" }
}