Forum Discussion
Ian_Amos_37833
Nimbostratus
Aug 31, 2007URL rewrite..
Hello all,
here's what i'm trying to do:
There is a site with both internal and external URL's (INT dev.site.sub, EXT dev.site.net) where the external URL is fronted by an LTM. ...
Ian_Amos_37833
Nimbostratus
Sep 03, 2007Posted By Joe on 08/31/2007 10:42 AM
Or, a more optimized version:
when HTTP_RESPONSE {
if { [HTTP::header exists "Location"] } {
if { [HTTP::header "Location"] starts_with "http://dev.site.sub/siteminder" } {
HTTP::header replace "Location" "http://dev.site.net/[substr [HTTP::header "Location"] 20]"
}
}
}See if that fixes things up...
-Joe
Thanks, I understand this rule a bit better.
I'm still getting the below error:
7 http_process_state_prepend - Invalid action EV_EGRESS_DATA during ST_HTTP_PREPEND_HEADERSI'm going to read up on TCPDump and see what's happening.
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
