Forum Discussion

Alen_Ismic_1869's avatar
Alen_Ismic_1869
Icon for Nimbostratus rankNimbostratus
Apr 08, 2015

LocalTraffic::Policies

Use case is like this. Two virtual servers, both have same web app, one using HTTP, second using HTTPS, HTTPS need to serve all traffic except specific URL (http://example.com/something) http://example.com/something need to be accessible through HTTP, all other requests on http need to be redirected to https.

 

I know how to control classic redirect through policies, but now I need to put multiple policies on virtual server, so I dont know how to do it.

 

I need rules like this: On HTTPS virtual server: client -> https://example.com/source -> redirected to -> http://example.com/source client -> https://www.example.com/* -> redirected to -> http://example.com/*

 

On HTTP virtual server client -> http://example.com -> redirected to -> https://example.com client -> http://example.com/source-> stay on http://example.com/source

 

No RepliesBe the first to reply