Forum Discussion
James_Thomson
Employee
Dec 09, 2004selective re-encryption
I'm trying to have a vip with ssl acceleration enabled accept traffic, inspect it, if it is html, re-encrypt it and send it to a secure serverpool. If it is .gif, just send it to a port 80 pool.
...
unRuleY_95363
Dec 09, 2004Historic F5 Account
This is what I think you want:
when HTTP_REQUEST {
if {[HTTP::uri] ends_with "gif"} {
pool img_pool
} else {
pool html_secure_pool
}
}
when SERVER_CONNECTED {
if {[TCP::remote_port] != 443} {
SSL::disable
}
}
The above example is courtesy of drteeth.
You could even just put the html_secure_pool on the virtual and then remove the "else { pool html_secure_pool }" part of the rule since the pool on the virtual is considered the default pool.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
