Forum Discussion
glen_unwin_1051
Nov 02, 2006Nimbostratus
iRule re-direct
Hello
I wonder if you could help me please?
We are running a Big Ip 1500 version 9 for load balancing and SSL for our web site.
Could you possibly help me with the insta...
glen_unwin_1051
Nov 03, 2006Nimbostratus
Joe
Thankyou for your helpful response, unfortunately as you pointed out there was an error with the iRule i pasted onto the site. The 302 redirect on the F5 including the url is as follows:
OLD iRule (which gives a 302 redirect) :-
when HTTP_REQUEST {
if { [HTTP::host] contains "co.uk" } {
HTTP::redirect "http://www.hastingsdirect.com[HTTP::uri]"
}
}
NEW iRule :-
when HTTP_REQUEST {
if { [HTTP::host] contains "co.uk" } {
HTTP::respond 301 Location "http://www.hastingsdirect.com[HTTP::uri]"
}
}
Will the new iRule work.
Also Joe, would you be available on a contract consultation basis to our company for future iRule upgrades on the F5s we have in place?
Regards
glen Unwin
Hastings Direct
Network Manager
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