Forum Discussion
abi1980_184094
Apr 04, 2015Nimbostratus
Landing
Am trying to have a Irule for a manintainence page for my f5 to send requests to a pool which hosts it
MY current Irule only manages to redirect anything http://xxx.com , however anything which...
Hannes_Rapp
Apr 07, 2015Nimbostratus
Let's be clear, you are not redirecting anything in F5 at this point, all redirects you may receive originate from the end-server. Your iRule is selecting a specific pool, based on the visitors source IP-address. It's all your iRule does.
Now for the Error 404 received when requesting "http://xxx.com/", it is purely related to end-server configuration. If you would like to formulate a maintenance redirect inside F5, have a look at commands
HTTP::respond 302 location "http://www.maintenance.host"
or HTTP::redirect "http://www.maintenance.host"
- both commands invoke a HTTP 302 redirect to your maintenance page location. Cheers.- abi1980_184094Apr 07, 2015Nimbostratusthanks Hannes Rapp for your valuable comments
- abi1980_184094Apr 07, 2015Nimbostratushannes would you be able to explain this part in a little deatil If you would like to formulate a maintenance redirect inside F5, have a look at commands HTTP::respond 302 location "http://www.maintenance.host" or HTTP::redirect "http://www.maintenance.host" - both commands invoke a HTTP 302 redirect to your maintenance page location. Cheers
- abi1980_184094Apr 07, 2015NimbostratusIs there an option to modufy the existing Irule to redierect to the maintainece page insteads of pointing it to the pool
- abi1980_184094Apr 07, 2015NimbostratusIs there an option to modufy the existing Irule to redierect to the maintainece page insteads of pointing it to the pool
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