kalicut_48905
Feb 26, 2009Nimbostratus
iRules HTTPS drop request
Hi,
We placed an iRule to redirect any traffic other than that comes to URI /PUBLIC/* to go thru HTTPS.
when HTTP_REQUEST {
if { not ([HTTP::uri] starts_with "/PUBLIC") } {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
Requests to anything other than /PUBLIC* are being forced thr HTTPS correctly. But the problem is, http requests to /PUBLIC/* are being dropped instead of being serviced normally.
Please let me know if there is anything that i'm missing here.
Thanks,
Ram