Forum Discussion
SharePoint Redirect To New Path Using Public Name
Hi Brian, I'm a bit confused. The SharePoint web app is listening on port 33230, but I don't see port 33230 in your switch statement or redirect location.
I'm not sure that if statements nested inside switch statements work very well. Also, it's true that HTTP::uri will change the URI before it's sent to the server, but the browser doesn't get informed of that, which can cause issues. You could use HTTP::respond in this way to accomplish the same:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] contains "dashboards.domain.com" && [HTTP::uri] equals "/" } {
HTTP::respond 302 Location "https://dashboards.domain.com:33230/sites/BI"
}
}
I'm curious about what happens when you point dashboards.domain.com at one of your server IPs, rather than the virtual server. Same result?
Mike
Recent Discussions
Related Content
* 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