Forum Discussion

kelly_106981's avatar
kelly_106981
Icon for Nimbostratus rankNimbostratus
Sep 22, 2008

Can someone check this iRule?

I want to redirect groupwise web from http to https. Does this look right?

 

 

 

when HTTP_REQUEST {

 

log local0. "unsecure attempt, redirecting to ssl....."

 

HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]

 

}

 

 

 

Thanks
No RepliesBe the first to reply