Forum Discussion

SSHSSH_97332's avatar
SSHSSH_97332
Icon for Nimbostratus rankNimbostratus
Nov 13, 2012

Sending Block Page to user

i want to send block page to user

 

will the below Irule work :

 

when HTTP_REQUEST {

 

log local0. "Log me one time"

 

log local0. " [HTTP::uri] "

 

HTTP::respond 200 content {

 

 

 

 

 

 

 

 

 

 

 

We are sorry, but you cannot access [HTTP::uri]

 

 

 

 

}

 

}

 

 

it seems to be working , but value [HTTP::uri] inside page is shown as [HTTP::uri] not as the URI ?

 

 

12 Replies