Forum Discussion
JoseCC_320098
Nimbostratus
Jun 05, 2017Uri-based client cert authentication question
Hi, I need to configure a virtual server with selective client cert authentication based on URI.
In case user select cert auth the uri changes to /myweb/secure/, F5 should request client cert, ren...
Phil_53695
Nimbostratus
Aug 10, 2011Hi,
Thanks for the reply. I used the standard template as you suggested and then did the irule below which will cache disable anything other than the files I listed.
I am going to see if it works and enabled the logging. Any good tips on testing or gather stats? Thanks again
when HTTP_REQUEST {
switch -glob [ string tolower [HTTP::uri]] {
"text/*javascript" -
"Scripts/*.js" -
"text/*.css" -
"image/*.swf" -
"image/*.gif" -
"image/*.png" -
"image/*.jpg" -
"image/*.jpeg"
{ CACHE::enable
log local0. "Caching [HTTP::uri]" }
else { CACHE::disable
log local0. "Non Caching [HTTP::uri]" }
}
}