Forum Discussion
BDunbar_8799
Nimbostratus
Oct 07, 2009VIP port 80 to VIP port 443 and iRule language reference
This is what I need to have happen:
1. User browses to foo.domain.com
2. HTTP is morphed to HTTPS
3. F5 sends traffic to the IIS server port 443
Support claimed I could use HTTP Profile for this - see SOL6912 at https://support.f5.com/kb/en-us/solutions/public/6000/900/sol6912.html
That seems not to be working. While I wait for them to call back I thought I'd poke away at using an iRule.
Now, as they say, I have two problems. A big reason is my iRule knowledge is limited.
1. Is there an optimal way to make this happen using an iRule?
2. Is there a language reference for iRule? I see a lot of cookbook-type references in these forums but without a reference it's hard to know how much one can actually do with iRules.
Thank you in advance.
- hoolio
Cirrostratus
Do you want to allow client to make HTTP requests and have the LTM establish HTTPS connections to the pool? Or do you want to redirect client requests made to an HTTP VIP to HTTPS? - BDunbar_8799
Nimbostratus
"Do you want to allow client to make HTTP requests and have the LTM establish HTTPS connections to the pool? Or do you want to redirect client requests made to an HTTP VIP to HTTPS?"- robert_carney
Nimbostratus
I have a problem like this but only some URI are going back to a 443 and the default pool is port 80 so can not use the ssl profile in on the vip level is there anyway to call the server side profile for only some uris
- hoolio
Cirrostratus
To redirect all HTTP requests to HTTPS you can use an iRule like this: - hoolio
Cirrostratus
dupe - hoolio
Cirrostratus
dupe - BDunbar_8799
Nimbostratus
Thank you very much, Aaron. - BDunbar_8799
Nimbostratus
Thank you very much, Aaron. - BDunbar_8799
Nimbostratus
Thank you very much, 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