Mike_Martinkus
Aug 21, 2019Nimbostratus
Forcing a 404 message after rejecting a URI
I need to for a 404 message after my Irule rejects several URI's. This is my IRULE for the reject:
when HTTP_REQUEST { switch -glob [string tolower [HTTP::path]] {
"/favicon.ico*" -
"/admin-console*" -
"/jbossws*" -
"/jmx-console*" -
"/web-console*" - {
pool xxx.xxx.xxx_8443_pool
}
reject
}}