maher_69299
Mar 18, 2011Nimbostratus
Not Caching HTTPS traffic
When we take our web servers for maintenance we would like to post a Sorry message for our customers. Currently we do this successfully with HTTP traffic. How can we do it with HTTPS traffic?. Here is the iRule configuration that works for the HTTP traffic
when HTTP_REQUEST
{
switch [string tolower [HTTP::path]]
{
default
{
HTTP::respond 503 content [lindex $::downsite_html 0] "Content-Type" "text/html" "Retry-After" "3600" "Pragma" "no-cache" "Cache-Control" "no-cache" "Expires" "-1"
}
}
}