Home McAfee web gateway redirect request for page to other site with original page as parameter
Reply: 1

McAfee web gateway redirect request for page to other site with original page as parameter

jo1storm
1#
jo1storm Published in 2018-02-12 14:39:06Z

I'm trying to do a very specific thing with McAfee web gateway and google is not much help.

Here is what I am trying to do:

1) User requests a web page which belongs to a certain domain, say https://www.google.com

2) I intercept that request and send the user to https://companysite.com/mypage.html?address=https://www.google.com

I was able to make a rule with that address static.

For example

If URL equals "https://www.google.com" then

Redirect

to a User-Specified URL of "https://companysite.com/mypage.html?address=https://www.google.com"

How would I make a rule which reads the address dynamically and sets it, like this:

If URL belongs to domain *othersite.com then

Redirect to a User-Specified URL of "https://companysite.com/mypage.html?

address={Original URL here}

Thanks in advance.

jo1storm
2#
jo1storm Reply to 2018-02-22 14:20:19Z

Turns out, the answer is fairly simple once you know about it. The correct syntax is:

If URL belongs to domain *othersite.com then

Redirect to a User-Specified URL of "https://companysite.com/mypage.html?

address=" + URL.raw

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.303427 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO