Dear Sohail,
Kindly try the below CPL. Unfortunately, I don't have a lab setup to test it.
;==================Twitter Redirection to Saudi MOH Page====================
define condition TWR_Support_URLs
url.domain=twimg.com
url.domain=twitter.com http.method=CONNECT
end
define condition TWR_Redirect_URLs
url.path.exact="/"
end
<proxy> condition=TWR_Support_URLs
ALLOW
define action TWR_Redirect
redirect(307, ".", "https://twitter.com/saudimoh?lang=en")
end
<proxy> url.domain=twitter.com
url.path.substring="saudimoh" ALLOW
url.scheme=https action.TWR_Redirect(yes) ALLOW
;=====================================================================
Thank you.
Best Regards,Priyesh MP
Original Message:
Sent: 11-25-2021 02:10 AM
From: sohail rashid
Subject: Block Twitter except our twitter company's page
Hi,
We have blocked all social media category including twitter, but we want to allow our company's twitter page as we are showing it on our internal portal.
can anyone share the steps. I tried using VPM but it did not work. Below is our company's twitter page:
https://twitter.com/saudimoh?lang=en
Regards,
Sohail