Jump to content
Welcome to our new Citrix community!

Convert Policie from Classic to Advanced


Recommended Posts

Hi,

 

I want to convert a session policie from classic to advanced, but can not find the right syntax. The policie is from https://docs.citrix.com/de-de/citrix-gateway/13/storefront-integration/ng-clg-session-policies-overview-con.html

 

Classic policie:

REQ.HTTP.HEADER User-Agent NOTCONTAINS CitrixReceiver && REQ.HTTP.HEADER Referer EXIST

 

Tool nspepi suggest

"HTTP.REQ.HEADER(\"User-Agent\").CONTAINS(\"CitrixReceiver\").NOT && HTTP.REQ.HEADER(\"Referer\")"

 

HTTP.REQ.HEADER("User-Agent").CONTAINS("CitrixReceiver").NOT works for me. But the netscaler do not except it after &&. There has to be a boolean expression after &&. 

 

Any ideas?

 

 

Link to comment
Share on other sites

Daniel and Stuart fixed your syntax issues.  So, just one other reminder in case you see this issue, when converting session policies from classic to advanced, you have to make sure all your session policies are all advanced before you can bind them (affects session policies on aaa user/aaa group/vpn vserver/vpn global).    If you get any binding errors, it is likely that you may have a mix of classic and advanced expressions in use.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...