Forum Discussion
Nolan_Jensen
Cirrostratus
Jun 16, 2022Close connection after redirect to external site
Summary: We are using a virtual server with an irule to redirect requests to what would have been our on prem sharepoint, out to our sharepoint online pages. Thisis really a stop gap until org chang...
Amine_Kadimi
MVP
Jun 16, 2022Add the tcp close command after the redirect :
TCP::close
Nolan_Jensen
Cirrostratus
Jun 16, 2022Thank you for the response.
I added that to my rule like this but still I can see connections? Did I do it wrong or might it be something else.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "test.company.test.org" } {
HTTP::redirect " https://qa.sharepoint.com/sites/companyqa[HTTP::uri]"
TCP::close
}
else {
HTTP::redirect "https://companyqa.sharepoint.com"
TCP::close
}
}
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