How exclusion url path file to without https
Hi ,
i want to exclusion my url path without https using irule,
for example all trafic to : https://myweb.com and
if access to this url without https to http://myweb.com/dev/data/
my existing irule config
when HTTP_REQUEST {
# Disable the stream filter for all requests
STREAM::disable
# LTM does not uncompress response content, so if the server has compression enabled
# and it cannot be disabled on the server, we can prevent the server from
# sending a compressed response by removing the compression offerings from the client
HTTP::header remove "Accept-Encoding"
}
when HTTP_RESPONSE {
# Check if response type is text
if {[HTTP::header value Content-Type] contains "text" or [HTTP::header value Content-Type] contains "json"}{
# Replace http:// with https://
STREAM::expression {@http://@https://@}
# Enable the stream filter for this response only
STREAM::enable
}
}
when STREAM_MATCHED {
#log local0. "Matched: [STREAM::match]"
}
thanks for help