Forum Discussion

Lem_379182's avatar
Lem_379182
Icon for Nimbostratus rankNimbostratus
Dec 13, 2018

PEM Http-Redirect not working

Hi, we're currently facing a problem in redirecting a website to a custom block page. We managed to block the facebook but it doesn't redirecting to the block page. We created a policy on pem and add fb-block-rule:

We use this iRule and applied it to a virtual server 192.168.0.23.

    when HTTP_REQUEST {

        HTTP::respond 200 content "
    

    
    FORBIDDEN SITE


    

    
    Hi there! Thanks for stopping by.
    But this page is restricted.. and you are being monitored.
    ===This is from your DCMD Administrator=== 
        
    "
          }

This is what we would like to show:

We are hoping for your kind assistance. Thanks!

No RepliesBe the first to reply