Forum Discussion
Pav_70755
Oct 27, 2008Nimbostratus
https re-directs
Hi,
I am trying to re-direct two https secure sites, currently there is an i-rule in place to re-direct the standard sites:
elseif { [HTTP::host] == "www.url.com" } {
HTTP::redirect "http://www.welcome.com"
I want to have the same re-direct for the secure site so:
https://www.url.com to re-direct to www.welcome.com
SSL is enabled in the i-rule any help would be much appreciated.
Thanks
Pav
- James_Quinby_46Historic F5 AccountPav -
when HTTP_REQUEST { if { [TCP::local_port] == 80 }{ HTTP::respond 301 Location "https://www.newurl.com" } }
- Pav_70755NimbostratusThanks for the reply the re-directs are on the same virtual server so I basically want to re-direct:
- dennypayneEmployeeHi Pav,
when HTTP_REQUEST { if { [HTTP::uri] eq "welcome.asp" or [HTTP::uri] eq "join.asp" } { HTTP::redirect "http://www.url.com/joining_form" } }
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