Forum Discussion
AngryCat_52750
Nimbostratus
Mar 19, 2013Sharepoint and Javascript Cancel event
I have a public site where users log into (F5 APM) and get to an internal Sharepoint page. The external site is called example.company.com and internall the Sharepoint site is called example_isa.comp...
Chris_Miller
Altostratus
Mar 19, 2013Something like this perhaps?
when HTTP_RESPONSE {
set host "www.example.com"
STREAM::disable
if { [HTTP::header is_redirect] } {
HTTP::header replace Location [string map {"http://example_isa.company.com" "https://example.company.com"} [HTTP::header value Location]] }
if {[HTTP::header value Content-Type] contains "text"}{
if { $encoding_header contains "charset=utf-8" } {
set slash "\u002f"
} else {
set slash "/"
}
STREAM::expression {@http://example.company.com@https://example.company.com@ @http://example.company.com@https://example.company.com@ "@http:$slash$slash@https:$slash$slash$host@" }
STREAM::enable }}
when STREAM_MATCHED {
log local0. "matched: [STREAM::match]"}
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
