cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
roybad
Level 7
Report Inappropriate Content
Message 1 of 3

Custom redirect possible?

Jump to solution

Hi everyone!!

Hopefully someone can help me ....

Is there a way of redirecting to a URL but adding variables to the direct?

With Bluecoat proxies - I can redirect to :

http://myredirect.server.intranet/exception.aspx?proxy=$(proxy.name)&cs-categories=$(cs-categories)&...)

This way I can create workflow based on the variables - proxy.name, category, exceptionid, url, user and IP.

Is the only way with MWG, to host the page on the MWG and create the exception page there?

thanks!!!

1 Solution

Accepted Solutions
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 3

Re: Custom redirect possible?

Jump to solution

In MWG 7 this is very simple.

There is a property "Redirect.URL" that is writable, you can set it in an event with any rule (usually done in the rule that has the Redirect action). In that event you can compile any URL with any parameters you like.

View solution in original post

2 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 3

Re: Custom redirect possible?

Jump to solution

In MWG 7 this is very simple.

There is a property "Redirect.URL" that is writable, you can set it in an event with any rule (usually done in the rule that has the Redirect action). In that event you can compile any URL with any parameters you like.

View solution in original post

roybad
Level 7
Report Inappropriate Content
Message 3 of 3

Re: Custom redirect possible?

Jump to solution

Thanks Martin

Perfect answer...

If anyone else wanted to know this :

Set Redirect.URL = "http://myinternal.server/exception.aspx?proxy="

+ IP.ToString (Proxy.IP)

+ "&cs-categories="

+ List.OfCategory.ToString (URL.Categories<Default>)

+ "&http_code=403&exception_id-deny_by_policy&url="

+ URL

+ "&user="

+ Authentication.UserName

+ "&ip="

+ IP.ToString (Client.IP)

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community