Forum Discussion
davidq_20688
Jun 06, 2011Nimbostratus
HTTP Profile for re-direct
Hi All, The company I work for has requested we set up a virtual server, which will effectively redirect all incoming HTTP requests. We have set up a http profile to do this jo...
hooleylist
Jun 09, 2011Cirrostratus
What you're seeing is expected browser behavior.
If you specify a local URI for a redirect, the browser will automatically append that redirect location to the current URL. If you want the client to make a request with the same protocol (http or https) to the same FQDN but with a new path of /fallback.html, you should specify the fallback host as /fallback.html. This doesn't follow the exact requirements of RFC2616 but it works.
If you want to replace the host in the redirect, you will need to specify a full URL like http://www.example.com/fallback.html.
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