How best to accomplish HTTP redirection for specific URLs?
I am trying to create a site where some URLs are not redirected to HTTPS but all other URLs do get redirected. I do not know what is the best method to accomplish this. I want the ability to easily add URLs that should not be redirected. Should I be using iRule for this? Or is an html rewrite profile better?
For example... http://www.drspanky.com/slowcomputer/is/slow/index.html --> not redirected http://www.drspanky.com/notso/fastcomputer/is/notfast.html ---> not redirected http://www.drspanky.com/slownotebook/is/slow/nossl/index.html --> not redirected http://www.drspanky.com/slow12345/nossl/is/slow/myhome.svc --> not redirected All other requests to www.drspanky.com are redirected to https.
I am fairly new with working on the F5 Big IP LTM appliances. I have been able to create simple LTM policies for http and https web sites. For most all of the https sites I have, I am simply using the F5 ceritified iRule to redirect all http requests to https.
I have a series of sites that have a number of URLs that cannot be redirected. I am porting this site from a Cisco ACE 4710 appliance where I have http url class-maps defined for the URLs not to be redirected.
I am using the latest and greatest tmos release on new hardware. thnx in advance for any suggestions. I want to learn so pointing me in the right direction would be very much appreciated.