Forum Discussion
Advise on setting up IRULE
getting error " HTTP_ Request event in rule requires an associated HTTP or FASTHTTP profile on virtual server
My requirement
When client request for URL https://netforum.rotaryintl.org/xwebevents it should hit the pool NF_PRD_XWEBEVENTS_443
AND
When the client request for URL https://netforum.rotaryintl.org it should hit the pool Netforumprd_443_Pool
Current SETUP
VIP is configured with port set to 443
In order to have an iRule that would direct traffic based on anything in the HTTP header you would need the HTTP profile and be performing SSL termination otherwise it will not work.
- TeeraratCirrus
Hi Samit,
When you would like to check about HTTP header you have to add HTTP Profile, Client SSL on virtual server
Example IRULE
when HTTP_REQUEST {
if { [HTTP::uri] contains "/xwebevents*" }{
pool NF_PRD_XWEBEVENTS_443
} else {
pool Netforumprd_443_Pool
}
} - samitjadhavNimbostratus
Hi Paulius and Teerarat,
Thankyou! for the update but the SSL termination is currently on the server end . In that case , is there any alternative to tweak in the irule or configure a seperate policy .
If you have a HTTPS virtual server you need a Client SSL profile which is what you will have to configure. An additional note, you do not have a reason to have a Server SSL profile because the traffic is already encrypted without any SSL profiles encrypted.
- samitNimbostratus
Thankyou Paulius for your valuable support.
Recent Discussions
Related Content
* 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