Forum Discussion
Dayton_Gray_103
Jun 13, 2007Nimbostratus
I added some logging into the iRule. According to the logs it looks like it is getting redirected to the proper pool and that the SSL::Disable is triggering:
Jun 13 12:34:16 tmm tmm[1629]: 01220002:6: Rule FOG_Passthrough_443 : local0."test1"
Jun 13 12:34:16 tmm tmm[1629]: 01220002:6: Rule FOG_Passthrough_443 : local0."nossl"
Any idea why the web server would be getting 501 errors in the logs? Is this because the browser still has https in the url?
when HTTP_REQUEST {
set reencrypt 0
if { [HTTP::header Host] == "xxxxxxxxxxx" }{
{
pool xxxxxxxxxxxx
log local0."test1"
} else {
set reencrypt 1
pool fog-sec.443
log local0."test2"
}
}
when SERVER_CONNECTED {
if { $reencrypt == 0 }{
SSL::disable
log local0."nossl"
}
}