Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

match value in a specific URL

Feb 14 14 5:44 am

Hi,

I would like to redirect one specific website toward a gateway but it doesnt work.

I use expression "session.gateway="192.168.1.253" to definine the gateway redirection and request.URL to match website value. It works with all the websites expect this one : https://quickspot.fr:8443
I try different value in the Request.Url : quickspot, *quickspot* , *www.quickspot.fr* , *8443* etc ... but it doesn"t work.
Can you help me?

thank you

Re: match value in a specific URL

Feb 14 14 8:43 am

Hi there. The port is not included in the URL so to match on the port number, use request.port.

Let me know how this goes.
Aaron

Re: match value in a specific URL

Feb 14 14 8:31 pm

I try with request.port but it still doesn't work.

Re: match value in a specific URL

Feb 14 14 10:36 pm

Hi

can you look in the WWW proxy usage log and see what the requested url is for that request (cs-uri field) ? It may be something like CONNECT quickspot.fr:8443 since it's https.

Regards

Adrien de Croy

Re: match value in a specific URL

Feb 14 14 11:29 pm

its : CONNECT www.quickspot.fr:8443

Re: match value in a specific URL

Feb 17 14 8:53 am

Hi,

What event did you use to build your policy? If it was a ProxyRequest event then a CONNECT request is not going to hit this policy. You can create a new policy for a CONNECT request and link to the same list and that will capture secure connections as well.

Matt

Re: match value in a specific URL

Feb 17 14 11:29 pm

Yes I use the proxyRequest event and then the connect request, I will try with the use the Connect Request request Event to see if it will capture this connection to the website.

Re: match value in a specific URL

Feb 18 14 2:39 am

Thank you Matt, it works with the event "connect Request".
Post a reply