Forum Discussion
Ed_Barlow_22
May 24, 2007Historic F5 Account
SSL profile selection
Hi,
I am developing an iRule which selects the server side SSL profile based on the Host name of the request. It is almost there but critically I am getting an error which...and I have tried lots of alternatives....seems to have stopped me in my tracks.
Can anyone point out where I am going wrong please.
iRule:
when HTTP_REQUEST {
set host [HTTP::host]
if { $host equals "www.f5petshop.co.uk"} {
pool PetShop_Pool_SSL
} else {
pool PetShop_Pool_Clear}
}
when SERVER_CONNECTED {
if { $host equals "www.f5petshop.co.uk"} {
SSL::profile PetShop
}
}
Error in log:
TCL error: Rule PetShop_SSL_Selection - wrong args: should be "SSL::profile " while executing "SSL::profile PetShop"
- hoolio
Cirrostratus
Hi Ed, - Ed_Barlow_22Historic F5 AccountHi 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