Jim_Carlberg_98
Nov 08, 2012Nimbostratus
Command is not valid in current event context
I have an IP subnet in meeting_redirect-ip. If the users subnet is equat to that subnet, I want to redirect them to meet.contractor.com. If the IP address does not match, I want the request to forward to the pool members.
I keep getting command is vaid in current event context.
when CLIENT_ACCEPTED {
if { ![class match [IP::client_addr] equals meetingplace_redirect_ip] }{
HTTP::redirect "https://meet.contractor.com" }
}
Jim