Forum Discussion
Fotios_30046
Nimbostratus
Oct 28, 2009Strip Everything But HTTP::host
We're redirecting users a temporary server with new pools and virtual servers during a maintenance update and we want to strip off any http::path or http::uri and just send people to the http::host us...
hoolio
Cirrostratus
Oct 28, 2009You could rewrite the URI to / using HTTP::uri / instead. The client wouldn't see the change and it wouldn't result in a redirect and a second HTTP request. You could also select the "maintenance" pool using the pool command (Click here).
If you do want to use a redirect, make sure to redirect to "http://[HTTP::host]/" as the redirect location must have a URI of at least /.
Aaron
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